org.objectweb.jeremie.libs.presentation.std
Class StdMarshallerFactoryFactory

java.lang.Object
  |
  +--org.objectweb.jonathan.libs.kernel.GenericFactory
        |
        +--org.objectweb.jeremie.libs.presentation.std.StdMarshallerFactoryFactory
All Implemented Interfaces:
Factory

public class StdMarshallerFactoryFactory
extends GenericFactory

StdMarshallerFactory Factory implementation.


Constructor Summary
StdMarshallerFactoryFactory()
           
 
Method Summary
protected  Object[] getUsedComponents(Context _c)
          Returns the components required to create a new StdMarshallerFactory instance.
protected  Object newInstance(Context _c, Object[] _used_components)
          Returns a new StdMarshallerFactory 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
 

Constructor Detail

StdMarshallerFactoryFactory

public StdMarshallerFactoryFactory()
Method Detail

getUsedComponents

protected Object[] getUsedComponents(Context _c)
Returns the components required to create a new StdMarshallerFactory instance.

_c must contain a (non null) component of name "ChunkFactory", of type ChunkFactory.

It must also contain a component of name "domain", of type NamingContext; it must be a valid domain.

It must also contain a component of name "ContextFactory", of type ContextFactory.

Overrides:
getUsedComponents in class GenericFactory
Parameters:
_c - a Context instance;
Returns:
the components needed to create an StdMarshallerFactory instance.

newInstance

protected final Object newInstance(Context _c,
                                   Object[] _used_components)
                            throws JonathanException
Returns a new StdMarshallerFactory 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 StdMarshallerFactory instance;
Returns:
a new StdMarshallerFactory instance;
Throws:
JonathanException - if something goes wrong.