org.objectweb.david.libs.binding.soa
Class SOAImplFactory

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

public class SOAImplFactory
extends GenericFactory

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


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

SOAImplFactory

public SOAImplFactory()
Method Detail

getUsedComponents

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

The provided context must contain a component of name "DelegateFactory" and of type DelegateFactory.

It must also contain, either a component of name "/ORB", or a component of name "ORB", of type NamingContext. The "/ORB" component is automatically added if the target SOAImplFactory is used within an ORB.

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

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

newInstance

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