|
|||||||||||
| 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 ic)
The initFcController method overriden
by this mixin. |
Object |
getFcContentDesc()
|
Object |
getFcControllerDesc()
|
Type |
getFcInstanceType()
|
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()
|
| 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()
getFcInstanceType in interface Factorypublic Object getFcControllerDesc()
getFcControllerDesc in interface Factorypublic Object getFcContentDesc()
getFcContentDesc in interface Factory
public Component newFcInstance()
throws InstantiationException
newFcInstance in interface FactoryInstantiationException
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 ic)
throws InstantiationException
initFcController method overriden
by this mixin.
ic - information about the component to which this controller object
belongs.
InstantiationException - if the initialization fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||