org.ogf.graap.wsag.client.api
Class AgreementFactoryRegistryLocator

java.lang.Object
  extended by org.ogf.graap.wsag.client.api.AgreementFactoryRegistryLocator

Deprecated. as of version 2.x - use AgreementFactoryRegistryClient.FACTORY for creating new client instances.

@Deprecated
public class AgreementFactoryRegistryLocator
extends Object

The AgreementFactoryLocator returns a new agreement factory instance.

Author:
Oliver Waeldrich

Constructor Summary
AgreementFactoryRegistryLocator()
          Deprecated.  
 
Method Summary
static AgreementFactoryRegistryClient getFactoryRegistry(EndpointReferenceType epr)
          Deprecated. Creates a new AgreementFactoryRegistryClient for the given endpoint.
static AgreementFactoryRegistryClient getFactoryRegistry(EndpointReferenceType epr, LoginContext context)
          Deprecated. Creates a new AgreementFactoryRegistryClient for the given endpoint and with the given LoginContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgreementFactoryRegistryLocator

public AgreementFactoryRegistryLocator()
Deprecated. 
Method Detail

getFactoryRegistry

public static final AgreementFactoryRegistryClient getFactoryRegistry(EndpointReferenceType epr)
                                                               throws Exception
Deprecated. 
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
Deprecated. 
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 endpoint
context - 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. All Rights Reserved.