org.ogf.graap.wsag.client.impl
Interface AgreementFactoryRegistryBuilder

All Known Implementing Classes:
DefaultAgreementFactoryRegistryBuilder, WSAG4JAgreementFactoryRegistryBuilder

public interface AgreementFactoryRegistryBuilder

Builder implementation for Agreement Factory Registry clients.

Author:
Oliver Waeldrich

Method Summary
 AgreementFactoryRegistryClient newInstance(EndpointReferenceType epr)
          Creates a new factory registry client for a given endpoint.
 AgreementFactoryRegistryClient newInstance(EndpointReferenceType epr, LoginContext context)
          Creates a new factory registry client for a given endpoint using the given login context .
 

Method Detail

newInstance

AgreementFactoryRegistryClient newInstance(EndpointReferenceType epr)
                                           throws Exception
Creates a new factory registry client for a given endpoint. This method can only be used when server side security is disabled.

Parameters:
epr - the factory registry endpoint
Returns:
the factory registry client
Throws:
Exception - the instantiation of the registry implementation failed

newInstance

AgreementFactoryRegistryClient newInstance(EndpointReferenceType epr,
                                           LoginContext context)
                                           throws Exception
Creates a new factory registry client for a given endpoint using the given login context . This method is used when server side security is enabled (default).

Parameters:
epr - the factory registry endpoint
context - the login context to use
Returns:
the factory registry client
Throws:
Exception - the instantiation of the registry implementation failed


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.