org.jboss.portal.server.impl.invocation
Class InvocationImpl

java.lang.Object
  extended by org.jboss.portal.server.impl.invocation.InvocationImpl
All Implemented Interfaces:
Invocation
Direct Known Subclasses:
CoreInvocation

public class InvocationImpl
extends java.lang.Object
implements Invocation

An invocation that works on an interceptor stack.


Field Summary
protected  java.util.Map attachments
          Invocation attachments.
 PortalServer container
          Server.
 Parameters controlParameters
          Control parameters.
protected static org.apache.log4j.Logger log
          Logger.
 int nonSecurePort
          Non secure http port.
 PortalRequestImpl req
          Request.
 PortalResponseImpl resp
          Response.
 int securePort
          Secure http port.
 ServerObject target
          Target.
 Parameters targetParameters
          Target parameters.
 ServerURL url
          The incoming URL.
 
Constructor Summary
InvocationImpl(PortalServer container, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, int nonSecurePort, int securePort)
           
 
Method Summary
protected  void decodeParameters()
           
protected  void decodeTarget()
          Decode the target using parameters.
 java.lang.Object getAttachment(AttachmentKey key)
          Get an object attached.
protected  void init()
           
 java.lang.Object invokeNext()
          Route the invocation to the next interceptor.
 java.lang.Object invokeNext(Interceptor[] newInterceptors)
          Route the invocation to use a new stack.
 void removeAttachment(AttachmentKey key)
          Remove an attached object.
 void setAttachment(AttachmentKey key, java.lang.Object value)
          Attach an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Logger.


attachments

protected final java.util.Map attachments
Invocation attachments.


controlParameters

public Parameters controlParameters
Control parameters.


targetParameters

public Parameters targetParameters
Target parameters.


target

public ServerObject target
Target.


container

public PortalServer container
Server.


nonSecurePort

public int nonSecurePort
Non secure http port.


securePort

public int securePort
Secure http port.


req

public PortalRequestImpl req
Request.


resp

public PortalResponseImpl resp
Response.


url

public ServerURL url
The incoming URL.

Constructor Detail

InvocationImpl

public InvocationImpl(PortalServer container,
                      javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp,
                      int nonSecurePort,
                      int securePort)
Method Detail

init

protected void init()

decodeParameters

protected void decodeParameters()

decodeTarget

protected void decodeTarget()
Decode the target using parameters.


setAttachment

public void setAttachment(AttachmentKey key,
                          java.lang.Object value)
Description copied from interface: Invocation
Attach an object.

Specified by:
setAttachment in interface Invocation

getAttachment

public java.lang.Object getAttachment(AttachmentKey key)
Description copied from interface: Invocation
Get an object attached.

Specified by:
getAttachment in interface Invocation

removeAttachment

public void removeAttachment(AttachmentKey key)
Description copied from interface: Invocation
Remove an attached object.

Specified by:
removeAttachment in interface Invocation

invokeNext

public java.lang.Object invokeNext()
Description copied from interface: Invocation
Route the invocation to the next interceptor.

Specified by:
invokeNext in interface Invocation

invokeNext

public java.lang.Object invokeNext(Interceptor[] newInterceptors)
Description copied from interface: Invocation
Route the invocation to use a new stack.

Specified by:
invokeNext in interface Invocation