|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.portal.tools.portlet.orb.PortletORB
public abstract class PortletORB
Object request broker using portlet events.
Nested Class Summary | |
---|---|
static interface |
PortletORB.ImplementationFactory
|
static interface |
PortletORB.Tag
|
Constructor Summary | |
---|---|
protected |
PortletORB()
Constructor. |
Method Summary | |
---|---|
abstract PortletHandle |
getBroadcastPortletHandle()
Get the broadcast PortletHandle . |
static PortletORB |
getCurrentPortletORB()
Get the current PortletORB . |
protected abstract InvokeContext |
getInvokeContext()
|
abstract PortletHandle |
getPortletHandle()
Get the PortletHandle for the executing portlet. |
static PortletORB |
getPortletORB(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the PortletORB for the given request and response. |
abstract javax.servlet.http.HttpSession |
getSession()
Get the caller PortletHandle . |
abstract void |
handlePortletORBEvent(Event event,
Object contextObject)
Handle the given Event . |
abstract void |
handlePortletORBEvent(PortletORBEvent event,
Object contextObject)
Handle the given PortletORBEvent . |
protected static PortletORB |
setCurrentPortletORB(PortletORB currentPortletORB)
Change the current PortletORB . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PortletORB()
Method Detail |
---|
public static final PortletORB getPortletORB(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
PortletORB
for the given request and response.
This method delegates to the installed PortletORBManager
to
get the PortletORB
for the given request and response.
request
- the HttpServletRequest
response
- the HttpServletReponse
PortletORB
for the given request and responsepublic static final PortletORB getCurrentPortletORB()
PortletORB
.
PortletORB
protected static final PortletORB setCurrentPortletORB(PortletORB currentPortletORB)
PortletORB
.
currentPortletORB
- the PortletORB
PortletORB
public abstract void handlePortletORBEvent(Event event, Object contextObject) throws Throwable
Event
.
event
- the Event
Throwable
- thrown if an exception occurredpublic abstract void handlePortletORBEvent(PortletORBEvent event, Object contextObject) throws Throwable
PortletORBEvent
.
event
- the PortletORBEvent
Throwable
- thrown if an exception occurredpublic abstract PortletHandle getBroadcastPortletHandle()
PortletHandle
.
The broadcast PortletHandle
is used to send an remote
procedure invoke message to all portlets that
subscribe to the PortletORB.EVENT
event type.
PortletHandle
for broadcastpublic abstract PortletHandle getPortletHandle()
PortletHandle
for the executing portlet.
PortletHandle
for the executing portletpublic abstract javax.servlet.http.HttpSession getSession()
PortletHandle
.
The caller PortletHandle
is not available
outside the context of the execution of a remote procedure invoke message.
PortletHandle
for the caller portlet
or null
if this method was not called from
the context of an invokeprotected abstract InvokeContext getInvokeContext()
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |