org.objectweb.jeremie.libs.binding.soa
Class SOAContextFactory

java.lang.Object
  |
  +--org.objectweb.jonathan.libs.kernel.GenericFactory
        |
        +--org.objectweb.jeremie.libs.binding.soa.SOAContextFactory
All Implemented Interfaces:
Factory

public class SOAContextFactory
extends GenericFactory

SOAContext {#link org.objectweb.jonathan.apis.kernel.Factory Factory} implementation.


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

SOAContextFactory

public SOAContextFactory()
Method Detail

getUsedComponents

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

The provided context may contain a component of name "binder", of type JRMIBFactory.

The provided context must 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 SOAContext instance.

newInstance

protected final Object newInstance(Context _c,
                                   Object[] _used_components)
Returns a new SOAContext 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 SOAContext instance;
Returns:
a new SOAContext instance;