|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshocks.framework.meta.repository.MetadataRepositoryProxy
This class is a facade for the CentralMetadataRepository in the MBeanServer.
Constructor Summary | |
MetadataRepositoryProxy(javax.management.ObjectName objName)
|
Method Summary | |
void |
addDataSource(DataSource metadata)
Installs a DataSource into an instance pool. |
java.util.Set |
getTypeSet(java.lang.String type)
Get a Set containing one instance of every bean in the
repository corresponding to the specified type. |
DataSource |
leaseDataSource(java.lang.String type,
java.lang.String name)
Lease a DataSource of the appropriate type and name from the appropriate instance pool. |
void |
release(DataSource metadata)
Release the DataSource back into the repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetadataRepositoryProxy(javax.management.ObjectName objName)
Method Detail |
public void addDataSource(DataSource metadata)
MetadataRepository
addDataSource
in interface MetadataRepository
metadata
- public DataSource leaseDataSource(java.lang.String type, java.lang.String name)
MetadataRepository
leaseDataSource
in interface MetadataRepository
type
- name
-
public void release(DataSource metadata)
release
in interface MetadataRepository
metadata
- to be released back into the repository.public java.util.Set getTypeSet(java.lang.String type)
MetadataRepository
Set
containing one instance of every bean in the
repository corresponding to the specified type.
getTypeSet
in interface MetadataRepository
type
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |