|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.julia.control.binding.OptimizedCompositeBindingMixin
Provides optimized ComponentInterface
management to a BindingController
. This mixin uses shortcut links between component
interfaces where possible, i.e. when some interfaces do not have associated
interceptors.
Requirements
Component
and ContentController
interfaces.
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)
Sets the shortcuts for the given binding and then calls the overriden method. |
void |
setFcClientShortcuts(Interface clientItf,
Object impl,
Set visited,
List shortcutItfs,
List shortcutImpls)
Finds the shortcut links to be updated by following the bindings backwards from the given client interface. |
void |
setFcServerShortcuts(Interface serverItf,
Object impl,
Set visited,
List shortcutItfs,
List shortcutImpls)
Finds the shortcut links to be updated by followng the bindings backwards from the given server interface. |
void |
setFcShortcuts(InterfaceType clientItfType,
String clientItfName,
Object serverItf)
Creates the given binding and updates the shortcuts links accordingly. |
void |
unbindFc(InterfaceType clientItfType,
String clientItfName)
Updates the shortcuts for the given binding and then calls the overriden method. |
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 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
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
public void unbindFc(InterfaceType clientItfType, String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
public void setFcShortcuts(InterfaceType clientItfType, String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException
clientItfName
- a client interface name.serverItf
- the server interface to which the client interface must
be bound, or null if it must be unbound.
IllegalBindingException
- if a problem occurs.
NoSuchInterfaceException
public void setFcClientShortcuts(Interface clientItf, Object impl, Set visited, List shortcutItfs, List shortcutImpls) throws Exception
clientItf
- the client interface from which the bindings must be
followed backward.impl
- the object to be used to update the shortcut links with getFcItfImpl
.visited
- the already visited interfaces.shortcutItfs
- TODO.shortcutImpls
- TODO.
Exception
- if a problem occurs.public void setFcServerShortcuts(Interface serverItf, Object impl, Set visited, List shortcutItfs, List shortcutImpls) throws Exception
serverItf
- the server interface from which the bindings must be
followed backward.impl
- the object to be used to update the shortcut links with getFcItfImpl
.visited
- the already visited interfaces.shortcutItfs
- TODO.shortcutImpls
- TODO.
Exception
- if a problem occurs.public abstract void _super_bindFc(InterfaceType clientItfType, String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
method overriden by this mixin.
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
public abstract void _super_unbindFc(InterfaceType clientItfType, String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
unbindFc
method overriden by this mixin.
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |