|
|||||||||||
| 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 java.lang.String |
CONFIGURATION_LISTENERS_BINDING
A collection client interface bound to the listeners of this model. |
static java.lang.String |
VETOABLE_CONFIGURATION_LISTENERS_BINDING
A collection client interface bound to the vetoable 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(java.lang.String clientItfName,
java.lang.Object serverItf)
|
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. |
java.lang.String |
getFcState()
|
Component |
getRootComponent()
Returns the root component of this configuration. |
java.lang.String |
getStorage()
Returns the storage directory of this configuration. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
setChangeCount(long changeCount)
Sets the status of this configuration. |
void |
setRootComponent(Component root)
Sets the root component of this configuration. |
void |
setStorage(java.lang.String storage)
Sets the storage directory of this configuration. |
void |
startFc()
|
void |
stopFc()
|
void |
unbindFc(java.lang.String clientItfName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String VETOABLE_CONFIGURATION_LISTENERS_BINDING
vetoable listeners of this model.
public static final java.lang.String CONFIGURATION_LISTENERS_BINDING
listeners of this model.
| Constructor Detail |
public BasicConfiguration()
| Method Detail |
public java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
bindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic void unbindFc(java.lang.String clientItfName)
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.String getFcState()
getFcState in interface org.objectweb.fractal.api.control.LifeCycleControllerpublic void startFc()
startFc in interface org.objectweb.fractal.api.control.LifeCycleControllerpublic void stopFc()
stopFc in interface org.objectweb.fractal.api.control.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 java.lang.String getStorage()
Configuration
getStorage in interface ConfigurationConfiguration.setStorage(java.lang.String)public void setStorage(java.lang.String storage)
Configuration
setStorage in interface Configurationstorage - the new storage directory of this configuration.Configuration.getStorage()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 | ||||||||||