|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--jason.core.ServiceContainerDataModel
Created Fri Sep 06 21:31:49 2002
This is a data model for all service container. This dataModel is available for each Domain.
ServiceContainer
,
Serialized FormField Summary |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
ServiceContainerDataModel()
|
Method Summary | |
void |
addServiceContainer(ServiceContainer sc)
Store a service container |
void |
addServiceContainerDataModelListener(ServiceContainerDataModelListener listener)
|
ServiceContainer |
getServiceContainerAt(int i)
|
ServiceContainer |
getServiceContainerForService(Service s)
|
ServiceContainer |
getServiceContainerForServiceName(java.lang.String name)
|
ServiceContext |
getServiceContextForService(Service s)
|
ServiceContainer[] |
getState()
|
boolean |
isEnabledServiceOverriding()
|
void |
removeServiceContainer(ServiceContainer sc)
Remove the service container |
int |
serviceContainerCount()
|
void |
setEnabledServiceOverriding(boolean ok)
Enabled/Disabled the service overriding. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public ServiceContainerDataModel()
Method Detail |
public void addServiceContainerDataModelListener(ServiceContainerDataModelListener listener)
public ServiceContext getServiceContextForService(Service s)
public ServiceContainer getServiceContainerForService(Service s)
public ServiceContainer getServiceContainerForServiceName(java.lang.String name)
public ServiceContainer getServiceContainerAt(int i)
public void setEnabledServiceOverriding(boolean ok)
true
, adding
a service will take into account if an existing service of the same type exists. Then, the old
service will be remove, in such system the last one has always a priority on the old one
public boolean isEnabledServiceOverriding()
public void addServiceContainer(ServiceContainer sc)
public void removeServiceContainer(ServiceContainer sc)
public ServiceContainer[] getState()
public int serviceContainerCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |