站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

StatefulPortletInvoker - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.portlet.state.producer
Class StatefulPortletInvoker

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.common.system.AbstractJBossService
              extended byorg.jboss.portal.portlet.state.producer.StatefulPortletInvoker
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PortletInvoker, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
StatefulPortletInvoker

public class StatefulPortletInvoker
extends AbstractJBossService
implements PortletInvoker


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

StatefulPortletInvoker

public StatefulPortletInvoker()
Method Detail

getPortletInvoker

public PortletInvoker getPortletInvoker()

setPortletInvoker

public void setPortletInvoker(PortletInvoker portletInvoker)

getStateStore

public StateStore getStateStore()

setStateStore

public void setStateStore(StateStore stateStore)

unwrapCCPId

public java.lang.String unwrapCCPId(java.lang.String wrappedCCPId)
                             throws InvalidPortletIdException
Throws:
InvalidPortletIdException

unwrapPOPId

public java.lang.String unwrapPOPId(java.lang.String wrappedPOPId)
                             throws InvalidPortletIdException
Throws:
InvalidPortletIdException

wrapCCPId

public java.lang.String wrapCCPId(java.lang.String ccpId)
                           throws InvalidPortletIdException
Throws:
InvalidPortletIdException

wrapPOPId

public java.lang.String wrapPOPId(java.lang.String popId)
                           throws InvalidPortletIdException
Throws:
InvalidPortletIdException

getPortlets

public java.util.Set getPortlets()
                          throws PortletInvokerException
Description copied from interface: PortletInvoker
Return the set of portlet exposed.

Specified by:
getPortlets in interface PortletInvoker
Returns:
the set of exposed portlets
Throws:
PortletInvokerException

getPortlet

public Portlet getPortlet(java.lang.String portletId)
                   throws PortletInvokerException
Description copied from interface: PortletInvoker
Get information about a specific portlet.

Specified by:
getPortlet in interface PortletInvoker
Parameters:
portletId - the portlet identifier in the context of this invoker
Returns:
the PortletInfo for the specified portlet
Throws:
PortletInvokerException

invoke

public void invoke(PortletInvocation invocation)
            throws PortletInvokerException,
                   InvocationException
Description copied from interface: PortletInvoker
Invoke an operation on a specific portlet.

Specified by:
invoke in interface PortletInvoker
Parameters:
invocation - the portlet invocation
Throws:
PortletInvokerException
InvocationException

createClone

public java.lang.String createClone(java.lang.String portletId)
                             throws PortletInvokerException
Description copied from interface: PortletInvoker
Clone a portlet.

Specified by:
createClone in interface PortletInvoker
Returns:
the clone id
Throws:
PortletInvokerException

destroyClone

public void destroyClone(java.lang.String portletId)
                  throws PortletInvokerException
Description copied from interface: PortletInvoker
Destroy a cloned portlet.

Specified by:
destroyClone in interface PortletInvoker
Parameters:
portletId - the clone id
Throws:
PortletInvokerException

getProperties

public ValueMap getProperties(java.lang.String portletId)
                       throws PortletInvokerException
Description copied from interface: PortletInvoker
Return the properties of the specified portlet.

Specified by:
getProperties in interface PortletInvoker
Parameters:
portletId - the portlet id
Returns:
the properties
Throws:
PortletInvokerException

setProperties

public void setProperties(java.lang.String portletId,
                          ValueMap properties)
                   throws PortletInvokerException
Description copied from interface: PortletInvoker
Set the properties on the specified portlet.

Specified by:
setProperties in interface PortletInvoker
Parameters:
portletId - the portlet id
properties - the new properties
Throws:
PortletInvokerException