|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.julia.control.binding.CompositeBindingMixin
public abstract class CompositeBindingMixin
Provides ComponentInterface
management to a BindingController
.
Requirements
Component
and ContentController
interfaces. Its type must be an
instance of ComponentType
, and its
interfaces must implement ComponentInterface
.
Field Summary | |
---|---|
Component |
_this_weaveableC
The weaveableC field required by this mixin. |
ContentController |
_this_weaveableCC
The weaveableCC field required by this mixin. |
Method Summary | |
---|---|
abstract void |
_super_bindFc(InterfaceType clientItfType,
String clientItfName,
Object serverItf)
The bindFc
method overriden by this mixin. |
abstract void |
_super_unbindFc(InterfaceType clientItfType,
String clientItfName)
The unbindFc
method overriden by this mixin. |
void |
bindFc(InterfaceType clientItfType,
String clientItfName,
Object serverItf)
Calls the overriden method and then updates the getFcItfImpl link (or the getFcItfDelegate link of the corresponding
interceptor) of the clientItfName interface to serverItf. |
void |
unbindFc(InterfaceType clientItfType,
String clientItfName)
Calls the overriden method and then updates the getFcItfImpl link (or the getFcItfDelegate link of the corresponding
interceptor) of the clientItfName interface to null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Component _this_weaveableC
Component
interface of the component to
which this controller object belongs.
public ContentController _this_weaveableCC
ContentController
interface of the
component to which this controller object belongs.
Method Detail |
---|
public void bindFc(InterfaceType clientItfType, String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
getFcItfImpl
link (or the getFcItfDelegate
link of the corresponding
interceptor) of the clientItfName interface to serverItf.
clientItfType
- the type of the clientItfName interface.clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.
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.public void unbindFc(InterfaceType clientItfType, String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
getFcItfImpl
link (or the getFcItfDelegate
link of the corresponding
interceptor) of the clientItfName interface to null.
clientItfType
- the type of the clientItfName interface.clientItfName
- the name of a client interface of the component to
which this interface belongs.
NoSuchInterfaceException
- if there is no such client interface.
IllegalBindingException
- if the binding cannot be removed.
IllegalLifeCycleException
- if this component has a LifeCycleController
interface, but
it is not in an appropriate state to perform this operation.public abstract void _super_bindFc(InterfaceType clientItfType, String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
method overriden by this mixin.
clientItfType
- the type of the clientItfName interface.clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.
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.public abstract void _super_unbindFc(InterfaceType clientItfType, String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
unbindFc
method overriden by this mixin.
clientItfType
- the type of the clientItfName interface.clientItfName
- the name of a client interface of the component to
which this interface belongs.
NoSuchInterfaceException
- if there is no such client interface.
IllegalBindingException
- if the binding cannot be removed.
IllegalLifeCycleException
- if this component has a LifeCycleController
interface, but
it is not in an appropriate state to perform this operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |