|
||||||||||
| 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 BindingControllerpublic Object lookupFc(String clientItfName)
BindingControllerbindFc).
lookupFc in interface BindingControllerclientItfName - 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 BindingControllerclientItfName - 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 BindingControllerclientItfName - the name of a client interface of the component to
which this interface belongs.public String getFcState()
LifeCycleController
getFcState in interface LifeCycleControllerpublic void startFc()
LifeCycleController
startFc in interface LifeCycleControllerpublic void stopFc()
LifeCycleController
stopFc in interface LifeCycleControllerpublic Component getRootComponent()
Configuration
getRootComponent in interface ConfigurationConfiguration.setRootComponent(org.objectweb.fractal.gui.model.Component)public void setRootComponent(Component root)
ConfigurationrootComponentChanged method.
setRootComponent in interface Configurationroot - the new root component of this configuration.Configuration.getRootComponent()public long getChangeCount()
Configuration
getChangeCount in interface ConfigurationConfiguration.setChangeCount(long)public void setChangeCount(long changeCount)
Configuration
setChangeCount in interface ConfigurationConfiguration.getChangeCount()public Component createComponent()
Factory
createComponent in interface Factorypublic Component createComponent(Component component)
Factory
createComponent in interface Factorycomponent - a master component.
public ClientInterface createClientInterface(Component owner)
Factory
createClientInterface in interface Factoryowner - a component.
public ServerInterface createServerInterface(Component owner)
Factory
createServerInterface in interface Factoryowner - a component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||