Package org.gatein.pc.federation.impl
Class FederatedPortletInvokerService
java.lang.Object
org.gatein.pc.federation.impl.FederatedPortletInvokerService
- All Implemented Interfaces:
org.gatein.pc.api.PortletInvoker,FederatedPortletInvoker
-
Field Summary
Fields inherited from interface org.gatein.pc.api.PortletInvoker
LOCAL_PORTLET_INVOKER_ID -
Constructor Summary
ConstructorsConstructorDescriptionFederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker, String id, org.gatein.pc.api.PortletInvoker portletInvoker) -
Method Summary
Modifier and TypeMethodDescriptionorg.gatein.pc.api.PortletContextcreateClone(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext) List<org.gatein.pc.api.state.DestroyCloneFailure> destroyClones(List<org.gatein.pc.api.PortletContext> portletContexts) org.gatein.pc.api.PortletContextexportPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext) getId()Return the invoker id.org.gatein.pc.api.PortletgetPortlet(org.gatein.pc.api.PortletContext compoundPortletContext) org.gatein.pc.api.PortletInvokerReturn the underlying portlet invoker.Set<org.gatein.pc.api.Portlet> org.gatein.pc.api.state.PropertyMapgetProperties(org.gatein.pc.api.PortletContext compoundPortletContext) org.gatein.pc.api.state.PropertyMapgetProperties(org.gatein.pc.api.PortletContext compoundPortletContext, Set<String> keys) org.gatein.pc.api.PortletStatusgetStatus(org.gatein.pc.api.PortletContext portletContext) org.gatein.pc.api.PortletContextimportPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext) org.gatein.pc.api.invocation.response.PortletInvocationResponseinvoke(org.gatein.pc.api.invocation.PortletInvocation invocation) booleanisActive()org.gatein.pc.api.PortletContextsetProperties(org.gatein.pc.api.PortletContext compoundPortletContext, org.gatein.pc.api.state.PropertyChange[] changes)
-
Constructor Details
-
FederatedPortletInvokerService
public FederatedPortletInvokerService(FederatingPortletInvoker federatingPortletInvoker, String id, org.gatein.pc.api.PortletInvoker portletInvoker)
-
-
Method Details
-
getPortletInvoker
public org.gatein.pc.api.PortletInvoker getPortletInvoker()Description copied from interface:FederatedPortletInvokerReturn the underlying portlet invoker.- Specified by:
getPortletInvokerin interfaceFederatedPortletInvoker- Returns:
- the underlying portlet invoker
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.gatein.pc.api.PortletInvoker
-
getId
Description copied from interface:FederatedPortletInvokerReturn the invoker id.- Specified by:
getIdin interfaceFederatedPortletInvoker- Returns:
- the invoker id
-
getFederatingPortletInvoker
-
getPortlets
public Set<org.gatein.pc.api.Portlet> getPortlets() throws org.gatein.pc.api.PortletInvokerException- Specified by:
getPortletsin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
org.gatein.pc.api.PortletInvokerException
-
getPortlet
public org.gatein.pc.api.Portlet getPortlet(org.gatein.pc.api.PortletContext compoundPortletContext) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException - Specified by:
getPortletin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerException
-
getStatus
public org.gatein.pc.api.PortletStatus getStatus(org.gatein.pc.api.PortletContext portletContext) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException - Specified by:
getStatusin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerException
-
invoke
public org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(org.gatein.pc.api.invocation.PortletInvocation invocation) throws org.gatein.pc.api.invocation.InvocationException, org.gatein.pc.api.PortletInvokerException - Specified by:
invokein interfaceorg.gatein.pc.api.PortletInvoker- Throws:
org.gatein.pc.api.invocation.InvocationExceptionorg.gatein.pc.api.PortletInvokerException
-
createClone
public org.gatein.pc.api.PortletContext createClone(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext) throws org.gatein.pc.api.PortletInvokerException - Specified by:
createClonein interfaceorg.gatein.pc.api.PortletInvoker- Throws:
org.gatein.pc.api.PortletInvokerException
-
destroyClones
public List<org.gatein.pc.api.state.DestroyCloneFailure> destroyClones(List<org.gatein.pc.api.PortletContext> portletContexts) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
destroyClonesin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
getProperties
public org.gatein.pc.api.state.PropertyMap getProperties(org.gatein.pc.api.PortletContext compoundPortletContext) throws org.gatein.pc.api.PortletInvokerException - Specified by:
getPropertiesin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
org.gatein.pc.api.PortletInvokerException
-
getProperties
public org.gatein.pc.api.state.PropertyMap getProperties(org.gatein.pc.api.PortletContext compoundPortletContext, Set<String> keys) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
getPropertiesin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
setProperties
public org.gatein.pc.api.PortletContext setProperties(org.gatein.pc.api.PortletContext compoundPortletContext, org.gatein.pc.api.state.PropertyChange[] changes) throws IllegalArgumentException, org.gatein.pc.api.PortletInvokerException, UnsupportedOperationException - Specified by:
setPropertiesin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
IllegalArgumentExceptionorg.gatein.pc.api.PortletInvokerExceptionUnsupportedOperationException
-
exportPortlet
public org.gatein.pc.api.PortletContext exportPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext) throws org.gatein.pc.api.PortletInvokerException - Specified by:
exportPortletin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
org.gatein.pc.api.PortletInvokerException
-
importPortlet
public org.gatein.pc.api.PortletContext importPortlet(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext) throws org.gatein.pc.api.PortletInvokerException - Specified by:
importPortletin interfaceorg.gatein.pc.api.PortletInvoker- Throws:
org.gatein.pc.api.PortletInvokerException
-