|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.control.binding.ContainerContextualBindingControllerMixin
public abstract class ContainerContextualBindingControllerMixin
Provides a container based implementation of the
ContextualBindingController
interface. This mixin implements the
ContextualBindingController
methods through delegation to the
encapsulated "user component".
Note: this mixin cannot be used when the content and controllers of
components are merged.
Requirements
Field Summary | |
---|---|
Object |
fcContent
The "user component" encapsulated in this container component. |
Method Summary | |
---|---|
abstract void |
_super_initFcController(InitializationContext ic)
The initFcController method overridden
by this mixin. |
void |
bindFc(String clientItfName,
Object serverItf)
|
void |
bindFc(String clientItfName,
Object serverItf,
Object hints)
Binds the client interface whose name is given to a server interface. |
void |
initFcController(InitializationContext ic)
Initializes the fields of this mixin and then calls the overridden method. |
String[] |
listFc()
|
Object |
lookupFc(String clientItfName)
|
void |
unbindFc(String clientItfName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Object fcContent
Method Detail |
---|
public void initFcController(InitializationContext ic) throws InstantiationException
initFcController
in interface Controller
ic
- information about the component to which this controller object
belongs.
InstantiationException
- if the initialization fails.public String[] listFc()
listFc
in interface BindingController
BindingController.listFc()
public Object lookupFc(String clientItfName) throws NoSuchInterfaceException
lookupFc
in interface BindingController
NoSuchInterfaceException
BindingController.lookupFc(String)
public void bindFc(String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
in interface BindingController
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
BindingController.bindFc(String, Object)
public void bindFc(String clientItfName, Object serverItf, Object hints) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
ContextualBindingController
hints
parameter.
bindFc
in interface ContextualBindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.hints
- contextual information.
NoSuchInterfaceException
- if there is no such client interface.
IllegalBindingException
- if the binding cannot be created.
IllegalLifeCycleException
- if this component has a LifeCycleController
interface,
but it is not in an appropriate state to perform this operation.ContextualBindingController.bindFc(String, Object, Object)
public void unbindFc(String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
unbindFc
in interface BindingController
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
BindingController.unbindFc(String)
public abstract void _super_initFcController(InitializationContext ic) throws InstantiationException
initFcController
method overridden
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 |