|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.jade.fractal.julia.factory.JadeGenericFactoryMixin
public class JadeGenericFactoryMixin
Provides a basic implementation of the GenericFactory interface.
Requirements
newFcInstance method must
be instances of ComponentType.newFcInstance method must be strings referencing "true descriptors", which
are loaded with the _this_weaveableL loader. Here "true descriptors"
means controller descriptors as specified in ContextClassGenerator.
| Field Summary | |
|---|---|
org.objectweb.fractal.api.control.BindingController |
_this_weaveableBC
The weaveableBC field required by this mixin. |
org.objectweb.fractal.deployment.local.api.GenericInstallingFactory |
_this_weaveableGIF
The weaveableGIF field required by this mixin. |
GenericInstallingFactoryContextController |
_this_weaveableGIFCC
The weaveableJCC field required by this mixin. |
org.objectweb.fractal.julia.loader.Loader |
_this_weaveableL
The weaveableL field required by this mixin. |
org.objectweb.fractal.api.type.TypeFactory |
_this_weaveableTF
The weaveableTF field required by this mixin. |
| Constructor Summary | |
|---|---|
JadeGenericFactoryMixin()
|
|
| Method Summary | |
|---|---|
boolean |
addDeployedComponent(org.objectweb.fractal.api.Component deployedComponent)
register the deployed component |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.util.Set<org.objectweb.fractal.api.Component> |
getDeployedComponent()
|
org.objectweb.fractal.julia.loader.Tree |
getFcContentDescriptor(java.lang.Object contentDesc)
Returns the tree corresponding to the given content descriptor. |
org.objectweb.fractal.julia.loader.Tree |
getFcControllerDescriptor(java.lang.Object controllerDesc)
Returns the tree corresponding to the given controller descriptor. |
java.lang.Object |
getFcLoader(java.lang.Object loader)
|
org.objectweb.fractal.deployment.local.api.Loader |
getFcLoaderForComponent(org.objectweb.fractal.api.Component arg0)
|
org.objectweb.fractal.julia.loader.Tree |
getFcTypeDescriptor(org.objectweb.fractal.api.Type type)
Returns a tree representing the given component type. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
org.objectweb.fractal.api.Component |
newFcInstance(org.objectweb.fractal.api.Type type,
java.lang.Object controllerDesc,
java.lang.Object contentDesc)
|
org.objectweb.fractal.api.Component |
newFcInstance(org.objectweb.fractal.api.Type type,
java.lang.Object controllerDesc,
java.lang.Object contentDesc,
org.objectweb.fractal.deployment.local.api.PackageDescription packageDescription)
|
boolean |
removeDeployedComponent(org.objectweb.fractal.api.Component deployedComponent)
unregister the deployed component |
void |
unbindFc(java.lang.String clientItfName)
|
void |
undeployFcComponent(org.objectweb.fractal.api.Component cmp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.objectweb.fractal.julia.loader.Loader _this_weaveableL
Loader interface of the component to
which this controller object belongs.
public org.objectweb.fractal.api.type.TypeFactory _this_weaveableTF
TypeFactory interface of the component
to which this controller object belongs.
public org.objectweb.fractal.api.control.BindingController _this_weaveableBC
BindingController interface of the
component to which this controller object belongs.
public org.objectweb.fractal.deployment.local.api.GenericInstallingFactory _this_weaveableGIF
GenericInstallingFactory interface of
the component to which this controller object belongs.
public GenericInstallingFactoryContextController _this_weaveableGIFCC
GenericInstallingFactoryContextController interface of the
component to which this controller object belongs.
| Constructor Detail |
|---|
public JadeGenericFactoryMixin()
| Method Detail |
|---|
public org.objectweb.fractal.julia.loader.Tree getFcTypeDescriptor(org.objectweb.fractal.api.Type type)
throws org.objectweb.fractal.api.factory.InstantiationException
ContextClassGenerator
type - a component type, must be instance of ComponentType.
org.objectweb.fractal.api.factory.InstantiationException - if the given type is not an instance of ComponentType,
or if it contains control interface types.
public org.objectweb.fractal.julia.loader.Tree getFcControllerDescriptor(java.lang.Object controllerDesc)
throws org.objectweb.fractal.api.factory.InstantiationException
_this_weaveableL loader. It must have
the format specified in ContextClassGenerator
controllerDesc - a string referencing a true controller descriptor.
org.objectweb.fractal.api.factory.InstantiationException - if the tree cannot be loaded.public org.objectweb.fractal.julia.loader.Tree getFcContentDescriptor(java.lang.Object contentDesc)
ContextClassGenerator
contentDesc - a content descriptor.
public org.objectweb.fractal.api.Component newFcInstance(org.objectweb.fractal.api.Type type,
java.lang.Object controllerDesc,
java.lang.Object contentDesc)
throws org.objectweb.fractal.api.factory.InstantiationException
newFcInstance in interface org.objectweb.fractal.api.factory.GenericFactoryorg.objectweb.fractal.api.factory.InstantiationExceptionpublic java.lang.Object getFcLoader(java.lang.Object loader)
loader -
public org.objectweb.fractal.api.Component newFcInstance(org.objectweb.fractal.api.Type type,
java.lang.Object controllerDesc,
java.lang.Object contentDesc,
org.objectweb.fractal.deployment.local.api.PackageDescription packageDescription)
throws org.objectweb.fractal.api.factory.InstantiationException
newFcInstance in interface org.objectweb.fractal.deployment.local.api.GenericInstallingFactoryorg.objectweb.fractal.api.factory.InstantiationExceptionpublic void undeployFcComponent(org.objectweb.fractal.api.Component cmp)
undeployFcComponent in interface org.objectweb.fractal.deployment.local.api.GenericInstallingFactorypublic org.objectweb.fractal.deployment.local.api.Loader getFcLoaderForComponent(org.objectweb.fractal.api.Component arg0)
getFcLoaderForComponent in interface org.objectweb.fractal.deployment.local.api.GenericInstallingFactory
public void bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
throws org.objectweb.fractal.api.NoSuchInterfaceException,
org.objectweb.fractal.api.control.IllegalBindingException,
org.objectweb.fractal.api.control.IllegalLifeCycleException
bindFc in interface org.objectweb.fractal.api.control.BindingControllerorg.objectweb.fractal.api.NoSuchInterfaceException
org.objectweb.fractal.api.control.IllegalBindingException
org.objectweb.fractal.api.control.IllegalLifeCycleExceptionpublic java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException
lookupFc in interface org.objectweb.fractal.api.control.BindingControllerorg.objectweb.fractal.api.NoSuchInterfaceException
public void unbindFc(java.lang.String clientItfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException,
org.objectweb.fractal.api.control.IllegalBindingException,
org.objectweb.fractal.api.control.IllegalLifeCycleException
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerorg.objectweb.fractal.api.NoSuchInterfaceException
org.objectweb.fractal.api.control.IllegalBindingException
org.objectweb.fractal.api.control.IllegalLifeCycleExceptionpublic boolean addDeployedComponent(org.objectweb.fractal.api.Component deployedComponent)
DeploymentStateController
addDeployedComponent in interface DeploymentStateControllerdeployedComponent - The component to register
public boolean removeDeployedComponent(org.objectweb.fractal.api.Component deployedComponent)
DeploymentStateController
removeDeployedComponent in interface DeploymentStateControllerdeployedComponent - The component to register
public java.util.Set<org.objectweb.fractal.api.Component> getDeployedComponent()
getDeployedComponent in interface DeploymentStateController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||