org.objectweb.jotm.jta.jeremie
Class TSHandlerFactory
GenericFactory
org.objectweb.jotm.jta.jeremie.TSHandlerFactory
public class TSHandlerFactory
extends GenericFactory
static String | ts_context_name - Name used to designate the context containing the TSHandler components.
|
protected Object[] | getUsedComponents(Context c) - Returns the components required to create a new
TSHandler instance.
|
protected Object | newInstance(Context c, Object[] components) - Returns a new TSHandler instance created using the provided
components.
|
ts_context_name
public static final String ts_context_name
Name used to designate the context containing the TSHandler components.
getUsedComponents
protected Object[] getUsedComponents(Context c)
Returns the components required to create a new
TSHandler
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.
c
- a Context
instance;
- the components needed to create an TSHandler instance.
newInstance
protected Object newInstance(Context c,
Object[] components)
throws JonathanException
Returns a new TSHandler instance created using the provided
components.
c
- a context;components
- components to be used to create a new TSHandler instance;
- a new TSHandler instance;