|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides a means for accessing a local Managed Object Repository.
A Managed Object Repository contains references to managed object instances. Objects stored in the Object Repository are objects that can be managed.
A Managed Object Repository is used by the Common Management Framework for storing and retrieving objects to be managed.
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
boolean |
contains(java.lang.Object object)
Checks whether an object is already stored in the Object Repository. |
boolean |
contains(ObjectName name)
Checks whether an object is already stored in the Object Repository. |
java.lang.String |
getDomain()
Gets the domain name associated with the repository. |
java.lang.Integer |
getNbElements()
Returns the number of objects currently stored in the Object Repository. |
java.util.Vector |
getObject(ObjectName name,
QueryExp query)
Gets handles on managed objects controlled by the Object Repository. |
boolean |
isPersistent()
Indicates whether or not the Object Repository offers persistency. |
boolean |
isQuerySrv()
Indicates whether or not the Object Repository supports filtering. |
void |
register(java.lang.Object object,
ObjectName name)
Registers a named object in the Object Repository. |
void |
registerDB(java.lang.Object object,
ObjectName name)
Registers a named object with persistency in the Object Repository. |
java.lang.Object |
retrieve(ObjectName name)
Checks whether an object with a specific name is contained in the Object Repository. |
void |
setConfig(java.util.Vector params)
The method is only required when configuring JDBC implementations of a repository. |
void |
setDomain(java.lang.String domain)
Sets the domain name associated with the repository. |
void |
unregister(java.lang.Object object)
Removes a reference from the Object Repository using the object reference. |
void |
unregister(ObjectName name)
Removes a reference from the Object Repository using the object name. |
void |
update(java.lang.Object object,
ObjectName name)
Updates an object in the Object Repository. |
Method Detail |
public void setConfig(java.util.Vector params)
params
- a vector containing the different configuration parameters of the
repository.public void register(java.lang.Object object, ObjectName name) throws java.lang.IllegalArgumentException, InstanceAlreadyExistException
object
- Object to be added to the repository.name
- Name of the object.public void registerDB(java.lang.Object object, ObjectName name) throws java.lang.IllegalArgumentException, InstanceAlreadyExistException
object
- Object to be added to the repository.name
- Name of the object.public void update(java.lang.Object object, ObjectName name) throws InstanceNotFoundException
object
- The new object.name
- Name of the object.public void unregister(java.lang.Object object) throws InstanceNotFoundException
object
- Object to be removed from the repository.public void unregister(ObjectName name) throws InstanceNotFoundException
object
- Object to be removed from the repository.public boolean contains(java.lang.Object object)
object
- The object to be checked for.public boolean contains(ObjectName name)
objectName
- The object to be checked for.public java.lang.Object retrieve(ObjectName name)
name
- The name to be retrieved.public boolean isQuerySrv()
public boolean isPersistent()
public java.lang.String getDomain()
public void setDomain(java.lang.String domain)
public java.util.Vector getObject(ObjectName name, QueryExp query)
name
- Instance name of the object to be retrieved.query
- Query to apply when selecting objects.public java.lang.Integer getNbElements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |