|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer
public class PersistentPortalObjectContainer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer |
|---|
AbstractPortalObjectContainer.ContainerContext |
| Field Summary | |
|---|---|
protected JBossAuthorizationDomainRegistry |
authorizationDomainRegistry
. |
protected java.util.concurrent.ConcurrentHashMap |
cache
. |
protected boolean |
cacheNaturalId
. |
protected ObjectContextualizer |
contextualizer
. |
protected AbstractPortalObjectContainer.ContainerContext |
ctx
. |
protected PortalAuthorizationManagerFactory |
portalAuthorizationManagerFactory
. |
protected java.lang.String |
rootName
. |
protected org.hibernate.SessionFactory |
sessionFactory
. |
protected java.lang.String |
sessionFactoryJNDIName
. |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
PersistentPortalObjectContainer()
|
|
| Method Summary | |
|---|---|
protected ContextImpl |
createRoot(java.lang.String namespace)
|
void |
flushNaturalIdCache()
|
JBossAuthorizationDomainRegistry |
getAuthorizationDomainRegistry()
|
boolean |
getCacheNaturalId()
|
AbstractPortalObjectContainer.ContainerContext |
getContainerContext()
|
int |
getNaturalIdCacheSize()
|
protected ObjectNode |
getObjectNode(PortalObjectId path)
Must be subclasses to provide the access to a node. |
PortalAuthorizationManagerFactory |
getPortalAuthorizationManagerFactory()
|
java.lang.String |
getRootName()
|
void |
setAuthorizationDomainRegistry(JBossAuthorizationDomainRegistry authDomainRegistry)
|
void |
setCacheNaturalId(boolean cacheNaturalId)
|
void |
setPortalAuthorizationManagerFactory(PortalAuthorizationManagerFactory pamf)
|
void |
setRootName(java.lang.String rootName)
|
void |
setSessionFactoryJNDIName(java.lang.String sessionFactoryJNDIName)
|
protected void |
startService()
|
protected void |
stopService()
|
| Methods inherited from class org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer |
|---|
createContext, createPermission, createPermission, createPermissionContainer, getAuthorizationDomain, getConfigurator, getContentProviderRegistry, getContext, getContext, getObject, getObject, getPermission, getPermissionFactory, getPermissionRepository, getSecurityBindings, getType, removeSecurityBindings, setContentProviderRegistry, setSecurityBindings |
| Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService |
|---|
create, destroy, getState, getStateString, start, stop |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.hibernate.SessionFactory sessionFactory
protected AbstractPortalObjectContainer.ContainerContext ctx
protected PortalAuthorizationManagerFactory portalAuthorizationManagerFactory
protected JBossAuthorizationDomainRegistry authorizationDomainRegistry
protected java.lang.String sessionFactoryJNDIName
protected ObjectContextualizer contextualizer
protected java.util.concurrent.ConcurrentHashMap cache
protected boolean cacheNaturalId
protected java.lang.String rootName
| Constructor Detail |
|---|
public PersistentPortalObjectContainer()
| Method Detail |
|---|
public java.lang.String getRootName()
public void setRootName(java.lang.String rootName)
public void flushNaturalIdCache()
public int getNaturalIdCacheSize()
public boolean getCacheNaturalId()
public void setCacheNaturalId(boolean cacheNaturalId)
public JBossAuthorizationDomainRegistry getAuthorizationDomainRegistry()
public void setAuthorizationDomainRegistry(JBossAuthorizationDomainRegistry authDomainRegistry)
public PortalAuthorizationManagerFactory getPortalAuthorizationManagerFactory()
public void setPortalAuthorizationManagerFactory(PortalAuthorizationManagerFactory pamf)
public void setSessionFactoryJNDIName(java.lang.String sessionFactoryJNDIName)
public AbstractPortalObjectContainer.ContainerContext getContainerContext()
protected void startService()
throws java.lang.Exception
startService in class org.jboss.system.ServiceMBeanSupportjava.lang.Exception
protected void stopService()
throws java.lang.Exception
stopService in class org.jboss.system.ServiceMBeanSupportjava.lang.Exception
protected ContextImpl createRoot(java.lang.String namespace)
throws DuplicatePortalObjectException
createRoot in class AbstractPortalObjectContainerDuplicatePortalObjectExceptionprotected ObjectNode getObjectNode(PortalObjectId path)
AbstractPortalObjectContainer
getObjectNode in class AbstractPortalObjectContainerpath - the portal object path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||