|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BindingController
A component interface to control the bindings of the component to which it belongs. It is implicitely assumed here that the component's type system makes a distinction between "client" and "server" interfaces.
Method Summary | |
---|---|
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
Binds the client interface whose name is given to a server interface. |
java.lang.String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
java.lang.Object |
lookupFc(java.lang.String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
unbindFc(java.lang.String clientItfName)
Unbinds the given client interface. |
Method Detail |
---|
java.lang.String[] listFc()
java.lang.Object lookupFc(java.lang.String clientItfName) throws NoSuchInterfaceException
bindFc
).
clientItfName
- the name of a client interface of the component to
which this interface belongs.
NoSuchInterfaceException
- if the component to which this interface
belongs does not have a client interface whose name is equal to the
given name.void bindFc(java.lang.String clientItfName, java.lang.Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
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.void unbindFc(java.lang.String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
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 |