|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.portal.common.system.AbstractJBossService org.jboss.portal.portlet.state.producer.StatefulPortletInvoker
Field Summary |
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 | |
StatefulPortletInvoker()
|
Method Summary | |
java.lang.String |
createClone(java.lang.String portletId)
Clone a portlet. |
void |
destroyClone(java.lang.String portletId)
Destroy a cloned portlet. |
Portlet |
getPortlet(java.lang.String portletId)
Get information about a specific portlet. |
PortletInvoker |
getPortletInvoker()
|
java.util.Set |
getPortlets()
Return the set of portlet exposed. |
ValueMap |
getProperties(java.lang.String portletId)
Return the properties of the specified portlet. |
StateStore |
getStateStore()
|
void |
invoke(PortletInvocation invocation)
Invoke an operation on a specific portlet. |
void |
setPortletInvoker(PortletInvoker portletInvoker)
|
void |
setProperties(java.lang.String portletId,
ValueMap properties)
Set the properties on the specified portlet. |
void |
setStateStore(StateStore stateStore)
|
java.lang.String |
unwrapCCPId(java.lang.String wrappedCCPId)
|
java.lang.String |
unwrapPOPId(java.lang.String wrappedPOPId)
|
java.lang.String |
wrapCCPId(java.lang.String ccpId)
|
java.lang.String |
wrapPOPId(java.lang.String popId)
|
Methods inherited from class org.jboss.portal.common.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, startService, stopService |
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 StatefulPortletInvoker()
Method Detail |
public PortletInvoker getPortletInvoker()
public void setPortletInvoker(PortletInvoker portletInvoker)
public StateStore getStateStore()
public void setStateStore(StateStore stateStore)
public java.lang.String unwrapCCPId(java.lang.String wrappedCCPId) throws InvalidPortletIdException
InvalidPortletIdException
public java.lang.String unwrapPOPId(java.lang.String wrappedPOPId) throws InvalidPortletIdException
InvalidPortletIdException
public java.lang.String wrapCCPId(java.lang.String ccpId) throws InvalidPortletIdException
InvalidPortletIdException
public java.lang.String wrapPOPId(java.lang.String popId) throws InvalidPortletIdException
InvalidPortletIdException
public java.util.Set getPortlets() throws PortletInvokerException
PortletInvoker
getPortlets
in interface PortletInvoker
PortletInvokerException
public Portlet getPortlet(java.lang.String portletId) throws PortletInvokerException
PortletInvoker
getPortlet
in interface PortletInvoker
portletId
- the portlet identifier in the context of this invoker
PortletInfo
for the specified portlet
PortletInvokerException
public void invoke(PortletInvocation invocation) throws PortletInvokerException, InvocationException
PortletInvoker
invoke
in interface PortletInvoker
invocation
- the portlet invocation
PortletInvokerException
InvocationException
public java.lang.String createClone(java.lang.String portletId) throws PortletInvokerException
PortletInvoker
createClone
in interface PortletInvoker
PortletInvokerException
public void destroyClone(java.lang.String portletId) throws PortletInvokerException
PortletInvoker
destroyClone
in interface PortletInvoker
portletId
- the clone id
PortletInvokerException
public ValueMap getProperties(java.lang.String portletId) throws PortletInvokerException
PortletInvoker
getProperties
in interface PortletInvoker
portletId
- the portlet id
PortletInvokerException
public void setProperties(java.lang.String portletId, ValueMap properties) throws PortletInvokerException
PortletInvoker
setProperties
in interface PortletInvoker
portletId
- the portlet idproperties
- the new properties
PortletInvokerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |