org.objectweb.jeremie.libs.binding.moa
Class MOAContextFactory
java.lang.Object
|
+--org.objectweb.jonathan.libs.kernel.GenericFactory
|
+--org.objectweb.jeremie.libs.binding.moa.MOAContextFactory
- All Implemented Interfaces:
- Factory
- public class MOAContextFactory
- extends GenericFactory
MOAContext {#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 |
MOAContextFactory
public MOAContextFactory()
getUsedComponents
protected final Object[] getUsedComponents(Context _c)
- Returns the components required to create a new
MOAContext
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 MOAContext instance.
newInstance
protected final Object newInstance(Context _c,
Object[] _used_components)
- Returns a new MOAContext 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 MOAContext
instance;- Returns:
- a new MOAContext instance;