org.ogf.graap.wsag.client.wsrf.builder
Class AgreementFactoryRegistryClientFactory
java.lang.Object
org.ogf.graap.wsag.client.wsrf.builder.AgreementFactoryRegistryClientFactory
- All Implemented Interfaces:
- ClientFactory<AgreementFactoryRegistryClient>
public class AgreementFactoryRegistryClientFactory
- extends Object
- implements ClientFactory<AgreementFactoryRegistryClient>
WSAG4JAgreementFactoryBuilder
- Author:
- Oliver Waeldrich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgreementFactoryRegistryClientFactory
public AgreementFactoryRegistryClientFactory()
newInstance
public AgreementFactoryRegistryClient newInstance(EndpointReferenceType epr)
throws Exception
- Creates a new client for a given endpoint. This method can only be used when server side security is
disabled.
- Specified by:
newInstance
in interface ClientFactory<AgreementFactoryRegistryClient>
- Parameters:
epr
- the factory registry endpoint
- Returns:
- the factory registry client
- Throws:
Exception
- the instantiation of the registry implementation failed
newInstance
public AgreementFactoryRegistryClient newInstance(EndpointReferenceType epr,
LoginContext context)
throws Exception
- Creates a new client for a given endpoint using the given login context. This method is used when
server side security is enabled (default).
- Specified by:
newInstance
in interface ClientFactory<AgreementFactoryRegistryClient>
- Parameters:
epr
- the factory registry endpointcontext
- the login context to use
- Returns:
- the factory registry client
- Throws:
Exception
- the instantiation of the registry implementation failed
Copyright © 2008-2012. All Rights Reserved.