org.objectweb.david.libs.resources.giop
Class GIOPConnectionFactoryFactory

java.lang.Object
  |
  +--org.objectweb.jonathan.libs.kernel.GenericFactory
        |
        +--org.objectweb.david.libs.resources.giop.GIOPConnectionFactoryFactory
All Implemented Interfaces:
Factory

public class GIOPConnectionFactoryFactory
extends GenericFactory

GIOPConnectionFactory Factory implementation.


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

GIOPConnectionFactoryFactory

public GIOPConnectionFactoryFactory()
Method Detail

getUsedComponents

protected final Object[] getUsedComponents(Context _c)
Returns the components required to create a new GIOPConnectionFactory instance. The provided context must contain a (non null) component of name "connection_factory" of type TcpIpConnectionMgr.

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

newInstance

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