org.objectweb.david.libs.presentation.portable
Class CDRMarshallerFactoryFactory
java.lang.Object
|
+--org.objectweb.jonathan.libs.kernel.GenericFactory
|
+--org.objectweb.david.libs.presentation.portable.CDRMarshallerFactoryFactory
- All Implemented Interfaces:
- Factory
- public class CDRMarshallerFactoryFactory
- extends GenericFactory
CDRMarshallerFactory
Factory implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDRMarshallerFactoryFactory
public CDRMarshallerFactoryFactory()
getUsedComponents
protected Object[] getUsedComponents(Context _c)
- Returns the components required to create a new
CDRMarshallerFactory instance.
_c must contain a (non null) component of name
"ChunkFactory", of type ChunkFactory.
It must also contain a component of name "ContextFactory",
of type ContextFactory.
It may also contain a component of name "DavidMarshallerFactory",
of type DavidMarshallerFactory.
- Overrides:
getUsedComponents in class GenericFactory
- Parameters:
_c - a Context instance;- Returns:
- the components needed to create an CDRMarshallerFactory instance.
newInstance
protected final Object newInstance(Context _c,
Object[] _used_components)
throws JonathanException
- Returns a new CDRMarshallerFactory instance created using the provided
components.
- Overrides:
newInstance in class GenericFactory
- Parameters:
_c - a context;_used_components - components to be used to create a new
CDRMarshallerFactory instance;- Returns:
- a new CDRMarshallerFactory instance;
- Throws:
JonathanException - if something goes wrong.