|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedBeanPool
This is an extension of the BeanPool
interface with method providing
access to the bean life cycle management capabilities of the pool. This
interface is exposed to the internal users of the bean pool
Method Summary | ||
---|---|---|
void |
addRelation(RelationInfo relation)
Registers relation to the given bean. |
|
BeanFactory |
getBeanFactory()
Retrieves the bean factory. |
|
BeanInfo |
getBeanInfo(RegistryBean bean)
Retrieves the BeanInfo for a bean. |
|
BeanType |
getBeanType(RegistryBean bean)
Retrieves the BeanType meta-information for the given bean. |
|
ConfigurationManager |
getConfigurationManager()
Retrieves the ConfigurationManager |
|
PersistenceContext |
getPersistenceContext()
Retrieves the PersistenceContext |
|
RegistryObjectModel |
getRegistryObjectModel()
Retrieves the RegistryObjectModel instance for this bean pool.. |
|
java.util.Set<RelationInfo> |
getSourceRelations(RegistryBean bean)
Retrieves all registered relations inside the pool where the given bean is the source. |
|
java.util.Set<RelationInfo> |
getTargetRelations(RegistryBean bean)
Retrieves all registered relations inside the pool where the given bean is the target. |
|
boolean |
isManaged(RegistryBean bean)
Check if a given bean is being managed by the pool. |
|
boolean |
isModified(RegistryBean bean)
Check if a given managed by the pool bean is modified. |
|
|
read(java.lang.Class<T> beanClass,
javax.xml.registry.infomodel.RegistryObject ro)
Read a registry bean of the specified type and for the specified RegistryObject. |
|
void |
removeRelation(RelationInfo relation)
Removes the given RelationInfo from the pool. |
Methods inherited from interface com.softwareag.centrasite.appl.framework.persistence.BeanPool |
---|
addPersistenceListener, attach, clear, clearJaxrCache, create, createSearch, createSearch, createSearch, delete, delete, detach, flush, getFlushMode, getPersistenceListeners, insert, read, removePersistenceListener, run, setFlushMode, update, update |
Method Detail |
---|
boolean isManaged(RegistryBean bean)
bean
-
boolean isModified(RegistryBean bean)
bean
-
BeanInfo getBeanInfo(RegistryBean bean)
BeanInfo
for a bean.
bean
-
BeanInfo
BeanFactory getBeanFactory()
BeanFactory
ConfigurationManager getConfigurationManager()
ConfigurationManager
ConfigurationManager
PersistenceContext getPersistenceContext()
PersistenceContext
PersistenceContext
java.util.Set<RelationInfo> getSourceRelations(RegistryBean bean)
bean
-
java.util.Set<RelationInfo> getTargetRelations(RegistryBean bean)
bean
-
void addRelation(RelationInfo relation)
relation
- void removeRelation(RelationInfo relation)
RelationInfo
from the pool.
relation
- BeanType getBeanType(RegistryBean bean)
BeanType
meta-information for the given bean.
bean
-
BeanType
RegistryObjectModel getRegistryObjectModel()
RegistryObjectModel
instance for this bean pool..
RegistryObjectModel
<T extends RegistryBean> T read(java.lang.Class<T> beanClass, javax.xml.registry.infomodel.RegistryObject ro) throws JBMException
BeanPool.attach(RegistryBean)
.
T
- type extending the RegistryBean
interface.beanClass
- ro
-
JBMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |