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

java.lang.Object
  extended by org.jboss.portal.server.impl.invocation.InvocationFactoryImpl
All Implemented Interfaces:
InvocationFactory
Direct Known Subclasses:
CoreInvocationFactory

public class InvocationFactoryImpl
extends java.lang.Object
implements InvocationFactory


Field Summary
protected  ServerManager manager
           
 
Constructor Summary
InvocationFactoryImpl(ServerManager manager)
           
 
Method Summary
 Invocation decode(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Get the info from the request and create an invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected final ServerManager manager
Constructor Detail

InvocationFactoryImpl

public InvocationFactoryImpl(ServerManager manager)
Method Detail

decode

public Invocation decode(javax.servlet.http.HttpServletRequest req,
                         javax.servlet.http.HttpServletResponse resp)
Description copied from interface: InvocationFactory
Get the info from the request and create an invocation. The two important objects in the invocation are the PortalRequest and the PortalResponse that contains the informations carried by the link originating from the PortalURL. How invocations are carried accross different calls is really done by the InvocationContext and the PostalResponse. They both are responsible to marshall and unmarshall of the information present on the PortalURL.

Specified by:
decode in interface InvocationFactory