|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.jade.fractal.julia.control.reversebinding.BasicReverseBindingControllerMixin
public abstract class BasicReverseBindingControllerMixin
Provides a basic implementation of the ReverseBindingController
interface.
| Field Summary | |
|---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.Object>> |
reverseBinding
the reverse bindings of the component to which this controller is assigned |
| Method Summary | |
|---|---|
void |
bindSource(java.lang.String serverItfName,
java.lang.Object clientItf)
Register a reverse binding. |
java.lang.String[] |
listSource()
Return an array of reverse bindings name of the component to which this controller interface belongs. |
java.lang.Object[] |
lookupBindingSource(java.lang.String serverItfName)
Lookup the reverse bindings of the component to which this controller interface belongs. |
void |
unbindSource(java.lang.String serverItfName,
java.lang.Object clientItf)
Unregister a reverse binding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> reverseBinding
| Method Detail |
|---|
public void bindSource(java.lang.String serverItfName,
java.lang.Object clientItf)
throws org.objectweb.fractal.api.NoSuchInterfaceException,
org.objectweb.fractal.api.control.IllegalBindingException,
org.objectweb.fractal.api.control.IllegalLifeCycleException
ReverseBindingController
bindSource in interface ReverseBindingControllerserverItfName - the name of a server interface of the component to which this
interface belongs.clientItf - the client interface which is bound to the server interface.
org.objectweb.fractal.api.NoSuchInterfaceException - if there is no such client interface.
org.objectweb.fractal.api.control.IllegalBindingException - if the binding cannot be registered.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController
interface, but it is not in an appropriate state to perform
this operation.
public void unbindSource(java.lang.String serverItfName,
java.lang.Object clientItf)
throws org.objectweb.fractal.api.NoSuchInterfaceException,
org.objectweb.fractal.api.control.IllegalBindingException,
org.objectweb.fractal.api.control.IllegalLifeCycleException
ReverseBindingController
unbindSource in interface ReverseBindingControllerserverItfName - the name of a server interface of the component to which this
interface belongs.clientItf - the client interface which is bound to the server interface.
client itf must implem hashcode & equals method
org.objectweb.fractal.api.NoSuchInterfaceException - if there is no such client interface.
org.objectweb.fractal.api.control.IllegalBindingException - if the binding cannot be registered.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController
interface, but it is not in an appropriate state to perform
this operation.
public java.lang.Object[] lookupBindingSource(java.lang.String serverItfName)
throws org.objectweb.fractal.api.NoSuchInterfaceException
ReverseBindingController
lookupBindingSource in interface ReverseBindingControllerserverItfName - the name of a server interface of the component to which this
controller interface belongs.
org.objectweb.fractal.api.NoSuchInterfaceException - if there is no such interface.public java.lang.String[] listSource()
ReverseBindingController
listSource in interface ReverseBindingController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||