|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService
public class FederatingPortletInvokerService
| Constructor Summary | |
|---|---|
FederatingPortletInvokerService()
|
|
| Method Summary | |
|---|---|
PortletContext |
createClone(PortletContext compoundPortletContext)
Clone a portlet. |
java.util.List |
destroyClones(java.util.List portletContexts)
Destroy a cloned portlet. |
FederatedPortletInvoker |
getFederatedInvoker(java.lang.String federatedId)
Return a portlet invoker registered or null if not found |
java.util.Collection |
getFederatedInvokers()
Return the registered portlet invokers. |
Portlet |
getPortlet(PortletContext compoundPortletContext)
Get information about a specific portlet. |
java.util.Set |
getPortlets()
Return the set of portlet exposed. |
PropertyMap |
getProperties(PortletContext compoundPortletContext)
Return all the properties of the specified portlet. |
PropertyMap |
getProperties(PortletContext compoundPortletContext,
java.util.Set keys)
Return a subset of the properties of the specified portlet. |
PortletInvocationResponse |
invoke(PortletInvocation invocation)
Invoke an operation on a specific portlet. |
FederatedPortletInvoker |
registerInvoker(java.lang.String federatedId,
PortletInvoker federatedInvoker)
Registers an invoker. |
PortletContext |
setProperties(PortletContext compoundPortletContext,
PropertyChange[] changes)
Set the properties on the specified portlet. |
void |
unregisterInvoker(java.lang.String federatedId)
Unregisters the invoker associated with the specified identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FederatingPortletInvokerService()
| Method Detail |
|---|
public FederatedPortletInvoker registerInvoker(java.lang.String federatedId,
PortletInvoker federatedInvoker)
FederatingPortletInvoker
registerInvoker in interface FederatingPortletInvokerfederatedId - the invoker id to registerfederatedInvoker - the invoker to registerpublic void unregisterInvoker(java.lang.String federatedId)
FederatingPortletInvoker
unregisterInvoker in interface FederatingPortletInvokerfederatedId - the identifier of the invoker to unregister
public FederatedPortletInvoker getFederatedInvoker(java.lang.String federatedId)
throws java.lang.IllegalArgumentException
FederatingPortletInvoker
getFederatedInvoker in interface FederatingPortletInvokerfederatedId - the id
java.lang.IllegalArgumentException - if the id is nullpublic java.util.Collection getFederatedInvokers()
FederatingPortletInvoker
getFederatedInvokers in interface FederatingPortletInvoker
public java.util.Set getPortlets()
throws PortletInvokerException
PortletInvoker
getPortlets in interface PortletInvokerPortletInvokerException
public Portlet getPortlet(PortletContext compoundPortletContext)
throws java.lang.IllegalArgumentException,
PortletInvokerException
PortletInvoker
getPortlet in interface PortletInvokercompoundPortletContext - the portlet context in the scope of this invoker
PortletInfo for the specified portlet
java.lang.IllegalArgumentException - if the portlet context is null
PortletInvokerException
public PortletInvocationResponse invoke(PortletInvocation invocation)
throws PortletInvokerException
PortletInvoker
invoke in interface PortletInvokerinvocation - the portlet invocation
PortletInvokerException
public PortletContext createClone(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
createClone in interface PortletInvokerPortletInvokerException
public java.util.List destroyClones(java.util.List portletContexts)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
destroyClones in interface PortletInvokerportletContexts - a list of portlet contexts to destroy
DestroyCloneFailure, one per clone that couldn't be
destroyed
java.lang.IllegalArgumentException - if the portletContext is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException
public PropertyMap getProperties(PortletContext compoundPortletContext,
java.util.Set keys)
throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet contextkeys - the set of keys to retrieve
PortletInvokerException
public PropertyMap getProperties(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet context
PortletInvokerException
public PortletContext setProperties(PortletContext compoundPortletContext,
PropertyChange[] changes)
throws java.lang.IllegalArgumentException,
PortletInvokerException,
java.lang.UnsupportedOperationException
PortletInvoker
setProperties in interface PortletInvokercompoundPortletContext - the portlet contextchanges - the changes
java.lang.IllegalArgumentException - if the portletContext or the properties is null
java.lang.UnsupportedOperationException - if the invoker does not support this operation
PortletInvokerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||