org.objectweb.security.propagation
Class SSHandlerFactory
org.objectweb.security.propagation.SSHandlerFactory
- public class SSHandlerFactory
SSHandler
Field Summary |
static java.lang.String |
jonasss_context_name
Name used to designate the context containing the SSHandler components. |
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. |
jonasss_context_name
public static final java.lang.String jonasss_context_name
- Name used to designate the context containing the SSHandler components.
SSHandlerFactory
public SSHandlerFactory()
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
.
- 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.
- Parameters:
c
- a context;components
- components to be used to create a new SSHandler instance;- Returns:
- a new SSHandler instance;
- Throws:
JonathanException
- if something goes wrong.