|
||||||||||
| 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<DestroyCloneFailure> |
destroyClones(java.util.List<PortletContext> portletContexts)
Destroy a cloned portlet. |
FederatedPortletInvoker |
getFederatedInvoker(java.lang.String federatedId)
Return a portlet invoker registered or null if not found |
java.util.Collection<FederatedPortletInvoker> |
getFederatedInvokers()
Return the registered portlet invokers. |
Portlet |
getPortlet(PortletContext compoundPortletContext)
Get information about a specific portlet. |
java.util.Set<Portlet> |
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<java.lang.String> 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<FederatedPortletInvoker> getFederatedInvokers()
FederatingPortletInvoker
getFederatedInvokers in interface FederatingPortletInvoker
public java.util.Set<Portlet> getPortlets()
throws PortletInvokerException
PortletInvoker
getPortlets in interface PortletInvokerPortletInvokerException - a portlet invoker exception
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 - a portlet invoker exception
public PortletInvocationResponse invoke(PortletInvocation invocation)
throws PortletInvokerException
PortletInvoker
invoke in interface PortletInvokerinvocation - the portlet invocation
PortletInvokerException - a portlet invoker exception
public PortletContext createClone(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
createClone in interface PortletInvokercompoundPortletContext - the portlet context to clone
PortletInvokerException - a portlet invoker exception
public java.util.List<DestroyCloneFailure> destroyClones(java.util.List<PortletContext> 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
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
public PropertyMap getProperties(PortletContext compoundPortletContext,
java.util.Set<java.lang.String> keys)
throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet contextkeys - the set of keys to retrieve
PortletInvokerException - a portlet invoker exception
public PropertyMap getProperties(PortletContext compoundPortletContext)
throws PortletInvokerException
PortletInvoker
getProperties in interface PortletInvokercompoundPortletContext - the portlet context
PortletInvokerException - a portlet invoker exception
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
PortletInvokerException - a portlet invoker exception
java.lang.UnsupportedOperationException - if the invoker does not support this operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||