org.objectweb.security.propagation
Class SSHandlerFactory

java.lang.Object
  extended by org.objectweb.jonathan.libs.kernel.GenericFactory
      extended by org.objectweb.security.propagation.SSHandlerFactory
All Implemented Interfaces:
org.objectweb.jonathan.apis.kernel.Factory

public class SSHandlerFactory
extends org.objectweb.jonathan.libs.kernel.GenericFactory

SSHandler


Field Summary
static java.lang.String jonasss_context_name
          Name used to designate the context containing the SSHandler components.
 
Constructor Summary
SSHandlerFactory()
           
 
Method Summary
protected  java.lang.Object[] getUsedComponents(org.objectweb.jonathan.apis.kernel.Context c)
          Returns the components required to create a new SSHandler instance.
protected  java.lang.Object newInstance(org.objectweb.jonathan.apis.kernel.Context c, java.lang.Object[] components)
          Returns a new SSHandler instance created using the provided components.
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.GenericFactory
configure, newInstance, newObject, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jonasss_context_name

public static final java.lang.String jonasss_context_name
Name used to designate the context containing the SSHandler components.

See Also:
Constant Field Values
Constructor Detail

SSHandlerFactory

public SSHandlerFactory()
Method Detail

getUsedComponents

protected java.lang.Object[] getUsedComponents(org.objectweb.jonathan.apis.kernel.Context c)
Returns the components required to create a new SSHandler instance.

c must contain a (non null) component of name "MarshallerFactory" of type MarshallerFactory.

It may contain a component of name "id", of type Integer; this id should then represent the service id to use for the created service.

It may contain a component of name "sender", of type Sender, and a component of name "receiver", of type Receiver.

Specified by:
getUsedComponents in class org.objectweb.jonathan.libs.kernel.GenericFactory
Parameters:
c - a Context instance;
Returns:
the components needed to create an SSHandler instance.

newInstance

protected java.lang.Object newInstance(org.objectweb.jonathan.apis.kernel.Context c,
                                       java.lang.Object[] components)
                                throws org.objectweb.jonathan.apis.kernel.JonathanException
Returns a new SSHandler instance created using the provided components.

Specified by:
newInstance in class org.objectweb.jonathan.libs.kernel.GenericFactory
Parameters:
c - a context;
components - components to be used to create a new SSHandler instance;
Returns:
a new SSHandler instance;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.