|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.admin.model.BasicAdminModel
Field Summary | |
static java.lang.String |
ADMIN_MODEL_LISTENER_BINDING
A mandatory client interface bound to an AdminModelListener . |
static java.lang.String |
CONFIGURATION_BINDING
A mandatory client interface bound to a configuration
model. |
static java.awt.Font |
fnta13
Font Arial, plain, 13 pts |
static java.lang.String |
REPOSITORY_BINDING
A mandatory client interface bound to a repository . |
static java.lang.String |
STORAGE_BINDING
A mandatory client interface bound to a storage . |
Constructor Summary | |
BasicAdminModel()
|
Method Summary | |
void |
attributeChanged(Component component,
java.lang.String attributeName,
java.lang.String oldValue)
Notifies this listener that the value of an attribute has changed. |
void |
attributeControllerChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the attribute controller of a component has changed. |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
void |
canAddClientInterface(Component component,
ClientInterface i)
Notifies this listener that a client interface is about to be added to a component. |
void |
canAddServerInterface(Component component,
ServerInterface i)
Notifies this listener that a server interface is about to be added to a component. |
void |
canAddSubComponent(Component parent,
Component child)
Notifies this listener that a sub component is about to be added to a component. |
void |
canBindInterface(ClientInterface citf)
Notifies this listener that an interface is about to be bound. |
void |
canChangeAttribute(Component component,
java.lang.String attributeName)
Notifies this listener that the value of an attribute is about to change. |
void |
canChangeAttributeController(Component component)
Notifies this listener that the attribute controller of a component is about to change. |
void |
canChangeComponentControllerDescriptor(Component component)
Notifies this listener that the component controller descriptor of a component is about to change. |
void |
canChangeImplementation(Component component)
Notifies this listener that the implementation of a component is about to change. |
void |
canChangeInterfaceCardinality(Interface i)
Notifies this listener that the cardinality of an interface is about to change. |
void |
canChangeInterfaceContingency(Interface i)
Notifies this listener that the contigency of an interface is about to change. |
void |
canChangeInterfaceName(Interface i)
Notifies this listener that the name of an interface is about to change. |
void |
canChangeInterfaceSignature(Interface i)
Notifies this listener that the signature of an interface is about to change. |
void |
canChangeName(Component component)
Notifies this listener that the name of a component is about to change. |
void |
canChangeRootComponent()
Notifies this listener that the root component is about to change. |
void |
canChangeTemplateControllerDescriptor(Component component)
Notifies this listener that the template controller descriptor of a component is about to change. |
void |
canChangeType(Component component)
Notifies this listener that the type of a component is about to change. |
void |
canRebindInterface(ClientInterface citf)
Notifies this listener that an interface is about to be rebound. |
void |
canRemoveClientInterface(Component component,
ClientInterface i)
Notifies this listener that a client interface is about to be removed from a component. |
void |
canRemoveServerInterface(Component component,
ServerInterface i)
Notifies this listener that a server interface is about to be removed from a component. |
void |
canRemoveSubComponent(Component parent,
Component child)
Notifies this listener that a sub component is about to be removed from a component. |
void |
canUnbindInterface(ClientInterface citf)
Notifies this listener that an interface is about to be unbound. |
void |
changeCountChanged(Component component,
long changeCount)
Notifies this listener that all the change count of the configuration has changed. |
void |
clientInterfaceAdded(Component component,
ClientInterface i,
int index)
Notifies this listener that a client interface has been added to a component. |
void |
clientInterfaceRemoved(Component component,
ClientInterface i,
int index)
Notifies this listener that a client interface has been removed from a component. |
void |
componentControllerDescriptorChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the component controller descriptor of a component has changed. |
org.objectweb.fractal.api.Component |
createInstance(Component model,
org.objectweb.fractal.api.Component bootstrapComponent)
|
void |
deleteInstance(Component model)
|
org.objectweb.fractal.api.Component |
getInstance(Component model)
|
void |
implementationChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the implementation of a component has changed. |
void |
interfaceBound(ClientInterface citf,
ServerInterface sitf)
Notifies this listener that an interface has been bound. |
void |
interfaceCardinalityChanged(Interface i,
boolean oldValue)
Notifies this listener that the cardinality of an interface has changed. |
void |
interfaceContingencyChanged(Interface i,
boolean oldValue)
Notifies this listener that the contigency of an interface has changed. |
void |
interfaceNameChanged(Interface i,
java.lang.String oldValue)
Notifies this listener that the name of an interface has changed. |
void |
interfaceRebound(ClientInterface citf,
ServerInterface oldSitf)
Notifies this listener that an interface has been rebound. |
void |
interfaceSignatureChanged(Interface i,
java.lang.String oldValue)
Notifies this listener that the signature of an interface has changed. |
void |
interfaceUnbound(ClientInterface citf,
ServerInterface sitf)
Notifies this listener that an interface has been unbound. |
boolean |
isStarted(Component model)
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
nameChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the name of a component has changed. |
void |
rootComponentChanged(Component oldValue)
Notifies this listener that the root component has changed. |
void |
serverInterfaceAdded(Component component,
ServerInterface i,
int index)
Notifies this listener that a server interface has been added to a component. |
void |
serverInterfaceRemoved(Component component,
ServerInterface i,
int index)
Notifies this listener that a server interface has been removed from a component. |
void |
start(Component model)
|
void |
stop(Component model)
|
void |
subComponentAdded(Component parent,
Component child,
int index)
Notifies this listener that a sub component has been added to a component. |
void |
subComponentRemoved(Component parent,
Component child,
int index)
Notifies this listener that a sub component has been removed from a component. |
void |
templateControllerDescriptorChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the template controller descriptor of a component has changed. |
void |
typeChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the type of a component has changed. |
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 CONFIGURATION_BINDING
configuration
model. This is the model on which this model is based and synchronized.
public static final java.lang.String STORAGE_BINDING
storage
. This is
the storage into which the saved configurations are stored.
public static final java.lang.String REPOSITORY_BINDING
repository
. This
repository is used to store the configurations in the storage.
public static final java.lang.String ADMIN_MODEL_LISTENER_BINDING
AdminModelListener
.
public static final java.awt.Font fnta13
Constructor Detail |
public BasicAdminModel()
Method Detail |
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public 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.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public org.objectweb.fractal.api.Component getInstance(Component model)
getInstance
in interface AdminModel
public org.objectweb.fractal.api.Component createInstance(Component model, org.objectweb.fractal.api.Component bootstrapComponent) throws java.lang.Exception
createInstance
in interface AdminModel
java.lang.Exception
public void deleteInstance(Component model)
deleteInstance
in interface AdminModel
public boolean isStarted(Component model)
isStarted
in interface AdminModel
public void start(Component model)
start
in interface AdminModel
public void stop(Component model)
stop
in interface AdminModel
public void canChangeRootComponent()
VetoableConfigurationListener
canChangeRootComponent
in interface VetoableConfigurationListener
public void canChangeName(Component component)
VetoableConfigurationListener
canChangeName
in interface VetoableConfigurationListener
component
- the component whose name is about to change.public void canChangeType(Component component)
VetoableConfigurationListener
canChangeType
in interface VetoableConfigurationListener
component
- the component whose type is about to change.public void canChangeImplementation(Component component)
VetoableConfigurationListener
canChangeImplementation
in interface VetoableConfigurationListener
component
- the component whose implementation is about to change.public void canChangeInterfaceName(Interface i)
VetoableConfigurationListener
canChangeInterfaceName
in interface VetoableConfigurationListener
i
- the interface whose name is about to change.public void canChangeInterfaceSignature(Interface i)
VetoableConfigurationListener
canChangeInterfaceSignature
in interface VetoableConfigurationListener
i
- the interface whose signature is about to change.public void canChangeInterfaceContingency(Interface i)
VetoableConfigurationListener
canChangeInterfaceContingency
in interface VetoableConfigurationListener
i
- the interface whose contingency is about to change.public void canChangeInterfaceCardinality(Interface i)
VetoableConfigurationListener
canChangeInterfaceCardinality
in interface VetoableConfigurationListener
i
- the interface whose cardinality is about to change.public void canAddClientInterface(Component component, ClientInterface i)
VetoableConfigurationListener
canAddClientInterface
in interface VetoableConfigurationListener
component
- the component into which the new interface is about to be
added.i
- the interface that is about to be added.public void canRemoveClientInterface(Component component, ClientInterface i)
VetoableConfigurationListener
canRemoveClientInterface
in interface VetoableConfigurationListener
component
- the component from which the interface is about to be
removed.i
- the interface that is about to be removed.public void canAddServerInterface(Component component, ServerInterface i)
VetoableConfigurationListener
canAddServerInterface
in interface VetoableConfigurationListener
component
- the component into which the new interface is about to be
added.i
- the interface that is about to be added.public void canRemoveServerInterface(Component component, ServerInterface i)
VetoableConfigurationListener
canRemoveServerInterface
in interface VetoableConfigurationListener
component
- the component from which the interface is about to be
removed.i
- the interface that is about to be removed.public void canBindInterface(ClientInterface citf)
VetoableConfigurationListener
canBindInterface
in interface VetoableConfigurationListener
citf
- the client interface that is about to be bound.public void canRebindInterface(ClientInterface citf)
VetoableConfigurationListener
canRebindInterface
in interface VetoableConfigurationListener
citf
- the client interface that is about to be rebound.public void canUnbindInterface(ClientInterface citf)
VetoableConfigurationListener
canUnbindInterface
in interface VetoableConfigurationListener
citf
- the client interface that is about to be unbound.public void canChangeAttributeController(Component component)
VetoableConfigurationListener
canChangeAttributeController
in interface VetoableConfigurationListener
component
- the component whose attribute controller is about to
change.public void canChangeAttribute(Component component, java.lang.String attributeName)
VetoableConfigurationListener
canChangeAttribute
in interface VetoableConfigurationListener
component
- the component whose attribute is about to change.attributeName
- the name of the attribute whose value is about to
change.public void canChangeTemplateControllerDescriptor(Component component)
VetoableConfigurationListener
canChangeTemplateControllerDescriptor
in interface VetoableConfigurationListener
component
- the component whose template contoller descriptor is
about to change.public void canChangeComponentControllerDescriptor(Component component)
VetoableConfigurationListener
canChangeComponentControllerDescriptor
in interface VetoableConfigurationListener
component
- the component whose component contoller descriptor is
about to change.public void canAddSubComponent(Component parent, Component child)
VetoableConfigurationListener
canAddSubComponent
in interface VetoableConfigurationListener
parent
- the component into which the sub component is about to be
added.child
- the sub component that is about to be added.public void canRemoveSubComponent(Component parent, Component child)
VetoableConfigurationListener
canRemoveSubComponent
in interface VetoableConfigurationListener
parent
- the component from which the sub component is about to be
removed.child
- the sub component that is about to be removed.public void changeCountChanged(Component component, long changeCount)
ConfigurationListener
changeCountChanged
in interface ConfigurationListener
changeCount
- the new change count of the configuration.public void rootComponentChanged(Component oldValue)
ConfigurationListener
rootComponentChanged
in interface ConfigurationListener
oldValue
- the old root component of the configuration.public void nameChanged(Component component, java.lang.String oldValue)
ConfigurationListener
nameChanged
in interface ConfigurationListener
component
- the component whose name has changed.oldValue
- the old name of the component.public void typeChanged(Component component, java.lang.String oldValue)
ConfigurationListener
typeChanged
in interface ConfigurationListener
component
- the component whose type has changed.oldValue
- the old type of the component.public void implementationChanged(Component component, java.lang.String oldValue)
ConfigurationListener
implementationChanged
in interface ConfigurationListener
component
- the component whose implementation has changed.oldValue
- the old implementation of the component.public void interfaceNameChanged(Interface i, java.lang.String oldValue)
ConfigurationListener
interfaceNameChanged
in interface ConfigurationListener
i
- the interface whose name has changed.oldValue
- the old name of the interface.public void interfaceSignatureChanged(Interface i, java.lang.String oldValue)
ConfigurationListener
interfaceSignatureChanged
in interface ConfigurationListener
i
- the interface whose signature has changed.oldValue
- the old signature of the interface.public void interfaceContingencyChanged(Interface i, boolean oldValue)
ConfigurationListener
interfaceContingencyChanged
in interface ConfigurationListener
i
- the interface whose contingency has changed.oldValue
- the old contingency of the interface.public void interfaceCardinalityChanged(Interface i, boolean oldValue)
ConfigurationListener
interfaceCardinalityChanged
in interface ConfigurationListener
i
- the interface whose cardinality has changed.oldValue
- the old cardinality of the interface.public void clientInterfaceAdded(Component component, ClientInterface i, int index)
ConfigurationListener
clientInterfaceAdded
in interface ConfigurationListener
component
- the component into which the new interface has been added.i
- the interface that has been added.index
- the index of this interface in the client interface list of
the component.public void clientInterfaceRemoved(Component component, ClientInterface i, int index)
ConfigurationListener
clientInterfaceRemoved
in interface ConfigurationListener
component
- the component from which the interface has been removed.i
- the interface that has been removed.index
- the index of this interface in the client interface list of
the component.public void serverInterfaceAdded(Component component, ServerInterface i, int index)
ConfigurationListener
serverInterfaceAdded
in interface ConfigurationListener
component
- the component into which the new interface has been added.i
- the interface that has been added.index
- the index of this interface in the server interface list of
the component.public void serverInterfaceRemoved(Component component, ServerInterface i, int index)
ConfigurationListener
serverInterfaceRemoved
in interface ConfigurationListener
component
- the component from which the interface has been removed.i
- the interface that has been removed.index
- the index of this interface in the server interface list of
the component.public void interfaceBound(ClientInterface citf, ServerInterface sitf)
ConfigurationListener
interfaceBound
in interface ConfigurationListener
citf
- the client interface that has been bound.sitf
- the server interface to which it has been bound.public void interfaceRebound(ClientInterface citf, ServerInterface oldSitf)
ConfigurationListener
interfaceRebound
in interface ConfigurationListener
citf
- the client interface that has been rebound.oldSitf
- the server interface to which it was bound.public void interfaceUnbound(ClientInterface citf, ServerInterface sitf)
ConfigurationListener
interfaceUnbound
in interface ConfigurationListener
citf
- the client interface that has been unbound.sitf
- the server interface to which it was bound.public void attributeControllerChanged(Component component, java.lang.String oldValue)
ConfigurationListener
attributeControllerChanged
in interface ConfigurationListener
component
- the component whose attribute controller has changed.oldValue
- the old attribute controller of the component.public void attributeChanged(Component component, java.lang.String attributeName, java.lang.String oldValue)
ConfigurationListener
attributeChanged
in interface ConfigurationListener
component
- the component whose attribute has changed.attributeName
- the name of the attribute whose value has changed.oldValue
- the old value of the attribute.public void templateControllerDescriptorChanged(Component component, java.lang.String oldValue)
ConfigurationListener
templateControllerDescriptorChanged
in interface ConfigurationListener
component
- the component whose template contoller descriptor has
changed.oldValue
- the old value of the template controller descriptor.public void componentControllerDescriptorChanged(Component component, java.lang.String oldValue)
ConfigurationListener
componentControllerDescriptorChanged
in interface ConfigurationListener
component
- the component whose component contoller descriptor has
changed.oldValue
- the old value of the component controller descriptor.public void subComponentAdded(Component parent, Component child, int index)
ConfigurationListener
subComponentAdded
in interface ConfigurationListener
parent
- the component into which the sub component has been added.child
- the sub component that has been added.index
- the index of this sub component in the sub component list of
the parent component.public void subComponentRemoved(Component parent, Component child, int index)
ConfigurationListener
subComponentRemoved
in interface ConfigurationListener
parent
- the component from which the sub component has been removed.child
- the sub component that has been removed.index
- the index of this sub component in the sub component list of
the parent component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |