|
|||||||||
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.ContentBindingMixin
public abstract class ContentBindingMixin
Provides component hierarchy related checks to a BindingController
.
Requirements
Component
and SuperController
interfaces.ComponentType
.SuperController
interface: if this component is bound to
a component that does not satisfy these requirements, the binding will not be
checked (and no error will be thrown).
Field Summary | |
---|---|
Component |
_this_weaveableC
The weaveableC field required by this mixin. |
SuperController |
_this_weaveableSC
The weaveableSC field required by this mixin. |
Method Summary | |
---|---|
abstract void |
_super_bindFc(InterfaceType clientItfType,
String clientItfName,
Object serverItf)
The bindFc
method overriden by this mixin. |
void |
bindFc(InterfaceType clientItfType,
String clientItfName,
Object serverItf)
Calls the checkFcLocalBinding method and then
calls the overriden method. |
void |
checkFcLocalBinding(InterfaceType clientItfType,
String clientItfName,
Object serverItf)
Checks that the given binding is a local binding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.fractal.api.control.BindingController |
---|
bindFc, listFc, lookupFc, unbindFc |
Field Detail |
---|
public Component _this_weaveableC
Component
interface of the component to
which this controller object belongs.
public SuperController _this_weaveableSC
SuperController
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
checkFcLocalBinding
method and then
calls the overriden method.
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 checkFcLocalBinding(InterfaceType clientItfType, String clientItfName, Object serverItf) throws IllegalBindingException
clientItfType
- the type of the clientItfName interface.clientItfName
- the name of a client interface.serverItf
- a server interface.
IllegalBindingException
- if the given binding is not a local
binding.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |