|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.julia.factory.BasicTemplateMixin
Provides a basic implementation of the Template interface.
Requirements (here "sub template" means "any direct or indirect sub
template")
ComponentType.Template interface (and the Component interface).ContentController interface, then the components instantiated by this
template component must also have the ContentController interface.
Likewise for the BindingController interface.Interface interface. Moreover, the owner of this
interface must be a (sub) template of this template component.
| Field Summary | |
Component |
_this_weaveableC
The weaveableC field required by this mixin. |
Object[] |
fcContent
The controller and content descriptors of the components instantiated by this template. |
Type |
fcInstanceType
The functional type of the components instantiated by this template. |
| Method Summary | |
abstract void |
_super_initFcController(InitializationContext i)
The initFcController method overriden
by this mixin. |
Object |
getFcContentDesc()
Returns a description of the content part of the components instantiated by this factory. |
Object |
getFcControllerDesc()
Returns a description of the controller part of the components instantiated by this factory. |
Type |
getFcInstanceType()
Returns the functional type of the components instantiated by this factory. |
void |
initFcController(InitializationContext ic)
Initializes the fields of this mixin and then calls the overriden method. |
Component |
newFcControllerInstance()
Instantiates only the controller part of the component normally instantiated by this template. |
Component |
newFcInstance()
Instantiates a component from this factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Type fcInstanceType
public Object[] fcContent
public Component _this_weaveableC
Component interface of the component to
which this controller object belongs.
| Method Detail |
public void initFcController(InitializationContext ic)
throws InstantiationException
initFcController in interface Controlleric - information about the component to which this controller object
belongs.
InstantiationException - if the initialization fails.public Type getFcInstanceType()
Factory
getFcInstanceType in interface Factorypublic Object getFcControllerDesc()
Factory
getFcControllerDesc in interface Factorypublic Object getFcContentDesc()
Factory
getFcContentDesc in interface Factory
public Component newFcInstance()
throws InstantiationException
Factory
newFcInstance in interface FactoryComponent interface of the component instantiated from
this factory.
InstantiationException - if the component cannot be created.
public Component newFcControllerInstance()
throws InstantiationException
TemplatenewFcInstance 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 TemplateInstantiationException - if the component controller cannot be
instantiated.
public abstract void _super_initFcController(InitializationContext i)
throws InstantiationException
initFcController method overriden
by this mixin.
InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||