|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.aokell.lib.control.factory.FactoryControllerImpl
public class FactoryControllerImpl
Implementation of the Factory
controller.
Field Summary | |
---|---|
protected Component |
compctrl
|
Constructor Summary | |
---|---|
FactoryControllerImpl()
|
Method Summary | |
---|---|
void |
cloneFcCtrl(Component dst,
Object hints)
Clone the controller state from the current component to another one. |
protected void |
cloneFcMembrane(Map newContent,
Class[] order)
Clone the membrane of newly created components. |
Object |
getFcContentDesc()
|
Object |
getFcControllerDesc()
|
Type |
getFcInstanceType()
|
void |
initFcCtrl()
Initialize the controller. |
Component |
newFcControllerInstance()
Instantiates only the controller part of the component normally instantiated by this template. |
Component |
newFcInstance()
|
void |
setFcCompCtrl(Component compctrl)
Set the reference towards the component controller associated to this controller. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Component compctrl
Constructor Detail |
---|
public FactoryControllerImpl()
Method Detail |
---|
public Object getFcControllerDesc()
getFcControllerDesc
in interface Factory
public Object getFcContentDesc()
getFcContentDesc
in interface Factory
public Type getFcInstanceType()
getFcInstanceType
in interface Factory
public Component newFcInstance() throws InstantiationException
newFcInstance
in interface Factory
InstantiationException
public Component newFcControllerInstance() throws InstantiationException
newFcInstance
method cannot be implemented by just calling
itself recursively on the sub templates of this template (otherwise some
sub templates may be instantiated several times). Hence this method.
newFcControllerInstance
in interface org.objectweb.fractal.julia.factory.Template
InstantiationException
- if the component controller cannot be
instantiated.protected void cloneFcMembrane(Map newContent, Class[] order) throws InstantiationException
newContent
- the map associating old and new componentsorder
- the order for cloning controllers. This parameter is
an array of controller types.
InstantiationException
public void setFcCompCtrl(Component compctrl)
setFcCompCtrl
in interface Controller
public void initFcCtrl()
initFcCtrl
in interface Controller
public void cloneFcCtrl(Component dst, Object hints) throws CloneCtrlException
cloneFcCtrl
in interface Controller
dst
- the destination componenthints
- hints for performing the operation
CloneCtrlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |