|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.model.BasicConfiguration
Basic implementation of the Configuration
interface.
Field Summary | |
static String |
CONFIGURATION_LISTENERS_BINDING
A collection client interface bound to the listeners of this model. |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
STARTED, STOPPED |
Constructor Summary | |
BasicConfiguration()
Constructs a new basic configuration component. |
Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
ClientInterface |
createClientInterface(Component owner)
Creates a new external client interface. |
Component |
createComponent()
Creates a new component. |
Component |
createComponent(Component component)
Creates a slave component. |
ServerInterface |
createServerInterface(Component owner)
Creates a new external server interface. |
long |
getChangeCount()
Returns the status of this configuration. |
String |
getFcState()
Returns the execution state of the component to which this interface belongs. |
Component |
getRootComponent()
Returns the root component of this configuration. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
setChangeCount(long changeCount)
Sets the status of this configuration. |
void |
setRootComponent(Component root)
Sets the root component of this configuration. |
void |
startFc()
Starts the component to which this interface belongs. |
void |
stopFc()
Stops the component to which this interface belongs. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CONFIGURATION_LISTENERS_BINDING
listeners
of this model.
Constructor Detail |
public BasicConfiguration()
Method Detail |
public String[] listFc()
BindingController
listFc
in interface BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.
public void bindFc(String clientItfName, Object serverItf)
BindingController
bindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.public void unbindFc(String clientItfName)
BindingController
unbindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.public String getFcState()
LifeCycleController
getFcState
in interface LifeCycleController
public void startFc()
LifeCycleController
startFc
in interface LifeCycleController
public void stopFc()
LifeCycleController
stopFc
in interface LifeCycleController
public Component getRootComponent()
Configuration
getRootComponent
in interface Configuration
Configuration.setRootComponent(org.objectweb.fractal.gui.model.Component)
public void setRootComponent(Component root)
Configuration
rootComponentChanged
method.
setRootComponent
in interface Configuration
root
- the new root component of this configuration.Configuration.getRootComponent()
public long getChangeCount()
Configuration
getChangeCount
in interface Configuration
Configuration.setChangeCount(long)
public void setChangeCount(long changeCount)
Configuration
setChangeCount
in interface Configuration
Configuration.getChangeCount()
public Component createComponent()
Factory
createComponent
in interface Factory
public Component createComponent(Component component)
Factory
createComponent
in interface Factory
component
- a master component.
public ClientInterface createClientInterface(Component owner)
Factory
createClientInterface
in interface Factory
owner
- a component.
public ServerInterface createServerInterface(Component owner)
Factory
createServerInterface
in interface Factory
owner
- a component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |