|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ogf.graap.wsag.client.api.ClientLocator<T>
T
- the type of the clientpublic class ClientLocator<T>
The Locator returns a new wsag4j client instances. The lookup mechanism for a client implementation class is as follows:
client interface class name
, for example
AgreementFactoryRegistryClient
Constructor Summary | |
---|---|
protected |
ClientLocator(Class<T> clazz)
Instantiates a new client locator. |
Method Summary | |
---|---|
T |
newInstance(EndpointReferenceType epr)
Returns a new client instance. |
T |
newInstance(EndpointReferenceType epr,
LoginContext context)
Returns a new client instance. |
protected T |
newInstance(EndpointReferenceType epr,
LoginContext context,
String altConfig)
Returns a new client instance providing an alternative client configuration file. |
protected T |
newInstance(EndpointReferenceType epr,
String altConfig)
Returns a new client instance providing an alternative client configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ClientLocator(Class<T> clazz)
clazz
- the client classMethod Detail |
---|
public T newInstance(EndpointReferenceType epr) throws Exception
epr
- the client epr
Exception
- client instantiation errorpublic T newInstance(EndpointReferenceType epr, LoginContext context) throws Exception
epr
- the client eprcontext
- client login context
Exception
- client instantiation errorprotected T newInstance(EndpointReferenceType epr, String altConfig) throws Exception
epr
- the client epraltConfig
- alternative client factory implementation
Exception
- client instantiation errorprotected T newInstance(EndpointReferenceType epr, LoginContext context, String altConfig) throws Exception
epr
- the client eprcontext
- client login contextaltConfig
- alternative client factory implementation
Exception
- client instantiation error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |