|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.adaptors.clients.ClientFactory
public class ClientFactory
This Factory class is used to create Adaptor Clients such as RMI,IIOP and HTTP
| Field Summary | |
|---|---|
(package private) static java.lang.Class |
clientClazz
|
(package private) static java.lang.String |
newClient
|
| Method Summary | |
|---|---|
static void |
addClient(java.lang.String protocol,
java.lang.String className)
Method to add a particular client to the client factory. |
static Client |
createClient(java.lang.String protocol)
Creates the connector client according to the protocol. |
static Log |
getLogger()
Method to be used by the clients to log messages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static java.lang.String newClient
static java.lang.Class clientClazz
| Method Detail |
|---|
public static Log getLogger()
public static Client createClient(java.lang.String protocol)
protocol - the protocol name.
public static void addClient(java.lang.String protocol,
java.lang.String className)
createClient method.
protocol - Unique key that identifies the clientclassName - class name of the client
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||