|
||||||||||
| 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.common.system.AbstractJBossService
org.jboss.portal.security.impl.store.JBossTreeCacheStore
org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl
MBean to allow access to one portal policy config.
| Field Summary |
| Fields inherited from class org.jboss.portal.security.impl.store.JBossTreeCacheStore |
cacheAdapter |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, 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 | |
JBossPortalPolicyConfigStoreImpl()
|
|
| Method Summary | |
void |
addListener(ConfigListener listener)
Add a configuration change listener to notify when changes occur in this policy config |
void |
createContent()
Give a chance to the manager to create the initial content when the cache adapter has detected it does not exist. |
java.util.Set |
getConstraints(java.lang.String reference)
|
ObjectModelAdapter |
getModelAdapter()
Return the object model adapter. |
java.lang.String |
getPermissionType()
The permission type managed by this config. |
JBossPortalPolicyConfigService |
getPortalPolicyConfigService()
|
void |
removeConstraints(java.lang.String reference)
Remove the contstraints for the provided uri |
void |
removeListener(ConfigListener listener)
Remove the provided listener from the list of listeners to notify about changes in this policy config |
void |
setConfigListener(ConfigListener listener)
|
void |
setConstraints(java.lang.String reference,
java.util.Set constraints)
add the provided constraints to this policy configuration |
void |
setPermissionType(java.lang.String permissionType)
|
void |
setPortalPolicyConfigService(JBossPortalPolicyConfigService portalPolicyService)
|
void |
startService()
|
void |
stopService()
|
| Methods inherited from class org.jboss.portal.security.impl.store.JBossTreeCacheStore |
createService, destroyService, getCacheAdapter, getCacheProvider, getFQNPrefix, getPrefix, setCacheProvider, setPrefix, toID |
| Methods inherited from class org.jboss.portal.common.system.AbstractJBossService |
create, destroy, getState, getStateString, start, stop |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
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 |
| Constructor Detail |
public JBossPortalPolicyConfigStoreImpl()
| Method Detail |
public JBossPortalPolicyConfigService getPortalPolicyConfigService()
getPortalPolicyConfigService in interface JBossPortalPolicyConfigStorepublic void setPortalPolicyConfigService(JBossPortalPolicyConfigService portalPolicyService)
setPortalPolicyConfigService in interface JBossPortalPolicyConfigStorepublic void setConfigListener(ConfigListener listener)
public void createContent()
throws java.lang.Exception
ObjectManager
createContent in interface ObjectManagerjava.lang.Exception - any exception that will cause a rollback of the transactionpublic java.lang.String getPermissionType()
PortalPolicyConfig
getPermissionType in interface PortalPolicyConfigpublic void setPermissionType(java.lang.String permissionType)
public void setConstraints(java.lang.String reference,
java.util.Set constraints)
throws PortalPolicyConfigException
PortalPolicyConfig
setConstraints in interface PortalPolicyConfigreference - constraints - a set of SecurityConstraint elements containing allowed roles and actions
PortalPolicyConfigException
public void removeConstraints(java.lang.String reference)
throws PortalPolicyConfigException
PortalPolicyConfig
removeConstraints in interface PortalPolicyConfigreference -
PortalPolicyConfigException - if the resource identified by uri is not securedpublic java.util.Set getConstraints(java.lang.String reference)
getConstraints in interface PortalPolicyConfigreference -
public ObjectModelAdapter getModelAdapter()
ObjectManager
getModelAdapter in interface ObjectManager
public void startService()
throws java.lang.Exception
startService in class JBossTreeCacheStorejava.lang.Exception
public void stopService()
throws java.lang.Exception
stopService in class JBossTreeCacheStorejava.lang.Exceptionpublic void addListener(ConfigListener listener)
PortalPolicyConfig
addListener in interface PortalPolicyConfiglistener - the listener to addpublic void removeListener(ConfigListener listener)
PortalPolicyConfig
removeListener in interface PortalPolicyConfiglistener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||