org.ogf.graap.wsag.client
Class AgreementFactoryRegistryLocator
java.lang.Object
org.ogf.graap.wsag.client.AgreementFactoryRegistryLocator
public class AgreementFactoryRegistryLocator
- extends Object
The AgreementFactoryLocator returns a new agreement factory instance.
- Author:
- Oliver Waeldrich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGISTRY_LOCATOR
public static final String REGISTRY_LOCATOR
- System property key to lookup
AgreementFactoryRegistryBuilder
implementation
- See Also:
- Constant Field Values
AgreementFactoryRegistryLocator
public AgreementFactoryRegistryLocator()
getFactoryRegistry
public static final AgreementFactoryRegistryClient getFactoryRegistry(EndpointReferenceType epr)
throws Exception
- Creates a new
AgreementFactoryRegistryClient
for the given endpoint. This method is only used
if server side security is disabled.
- Parameters:
epr
- the agreement factory registry endpoint
- Returns:
- the new
AgreementFactoryRegistryClient
- Throws:
Exception
- indicates an error while querying the factory clients from the registry
getFactoryRegistry
public static final AgreementFactoryRegistryClient getFactoryRegistry(EndpointReferenceType epr,
LoginContext context)
throws Exception
- Creates a new
AgreementFactoryRegistryClient
for the given endpoint and with the given
LoginContext
. This method is used if server side security is enabled (default).
- Parameters:
epr
- the agreement factory registry endpointcontext
- the login context to use
- Returns:
- the new
AgreementFactoryRegistryClient
- Throws:
Exception
- indicates an error while querying the factory clients from the registry
Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.