org.apache.geronimo.corba.security.config
Interface ConfigAdapter

All Known Implementing Classes:
ORBConfigAdapter

public interface ConfigAdapter

Translates TSS and CSS configurations into CORBA startup args and properties.


Method Summary
 ORB createClientORB(CSSBean client)
          Create an ORB for a CSSBean client context.
 Object createNameService(String host, int port)
          Create a transient name service instance using the specified host name and port.
 ORB createNameServiceClientORB(CSSBean client)
          Create an ORB for a CSSBean nameservice client context.
 ORB createServerORB(CORBABean server)
          Create an ORB for a CORBABean server context.
 void destroyNameService(Object ns)
          Destroy a name service instance created by a prior call to createNameService().
 

Method Detail

createServerORB

ORB createServerORB(CORBABean server)
                    throws ConfigException
Create an ORB for a CORBABean server context.

Parameters:
server - The CORBABean that owns this ORB's configuration.
Returns:
An ORB instance configured for the CORBABean.
Throws:
ConfigException

createNameServiceClientORB

ORB createNameServiceClientORB(CSSBean client)
                               throws ConfigException
Create an ORB for a CSSBean nameservice client context.

Parameters:
client - The configured CSSBean used for access.
Returns:
An ORB instance configured for this client access.
Throws:
ConfigException

createClientORB

ORB createClientORB(CSSBean client)
                    throws ConfigException
Create an ORB for a CSSBean client context.

Parameters:
client - The configured CSSBean used for access.
Returns:
An ORB instance configured for this client access.
Throws:
ConfigException

createNameService

Object createNameService(String host,
                         int port)
                         throws ConfigException
Create a transient name service instance using the specified host name and port.

Parameters:
host - The String host name.
port - The port number of the listener.
Returns:
An opaque object that represents the name service.
Throws:
ConfigException

destroyNameService

void destroyNameService(Object ns)
Destroy a name service instance created by a prior call to createNameService().

Parameters:
ns - The opaque name service object returned from a prior call to createNameService().


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.