|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentBindingController
A component interface to control the bindings of the content of container
components. This interface is useful when a container and its encapsulated
"user" component are merged into a single class. Indeed, in this case, the
container class is generated as a sub class of the user component class, and
may therefore override the binding management methods that may be provided by
the user component (because both classes may implement the same BindingController
interface). In order to
still be able to call the user component binding management methods from
outside the component, four new methods are generated in the container class,
that just calls the corresponding methods in the user component class (i.e.,
in the super class) with the super keyword.
Method Summary | |
---|---|
void |
bindFcContent(String clientItfName,
Object serverItf)
Calls the bindFc method
on the component encapsulated in this container. |
String[] |
listFcContent()
Calls the listFc
method on the component encapsulated in this container. |
Object |
lookupFcContent(String clientItfName)
Calls the lookupFc
method on the component encapsulated in this container. |
void |
unbindFcContent(String clientItfName)
Calls the unbindFc
method on the component encapsulated in this container. |
Method Detail |
---|
String[] listFcContent()
listFc
method on the component encapsulated in this container.
Object lookupFcContent(String clientItfName) throws NoSuchInterfaceException
lookupFc
method on the component encapsulated in this container.
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 bindFcContent(String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
method
on the component encapsulated in this container.
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 unbindFcContent(String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
unbindFc
method on the component encapsulated in this container.
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 |