org.objectweb.david.libs.binding.moa
Class MOAImplFactory
java.lang.Object
|
+--org.objectweb.jonathan.libs.kernel.GenericFactory
|
+--org.objectweb.david.libs.binding.moa.MOAImplFactory
- All Implemented Interfaces:
- Factory
- public class MOAImplFactory
- extends GenericFactory
MOAImpl {#link org.objectweb.jonathan.apis.kernel.Factory
Factory} implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MOAImplFactory
public MOAImplFactory()
getUsedComponents
protected final Object[] getUsedComponents(Context _c)
- Returns the components required to create a new
MOAImpl
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 MOAImplFactory 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 MOAImpl instance.
newInstance
protected final Object newInstance(Context _c,
Object[] _used_components)
- Returns a new MOAImpl 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 MOAImpl
instance;- Returns:
- a new MOAImpl instance;