it.eng.spagobi.engines.geo.commons.presentation
Class DynamicPublisher

java.lang.Object
  extended by it.eng.spagobi.engines.geo.commons.presentation.DynamicPublisher
All Implemented Interfaces:
it.eng.spago.presentation.PublisherDispatcherIFace

public class DynamicPublisher
extends java.lang.Object
implements it.eng.spago.presentation.PublisherDispatcherIFace

Author:
Andrea Gioia (andrea.gioia@eng.it)

Field Summary
static org.apache.log4j.Logger logger
           
static java.lang.String PUBLISHER_NAME
           
 
Constructor Summary
DynamicPublisher()
          Class constructor.
 
Method Summary
 java.lang.String getPublisherName(it.eng.spago.base.RequestContainer request, it.eng.spago.base.ResponseContainer response)
          Given the request at input, gets the name of the reference publisher,driving the execution into the correct jsp page, or jsp error page, if any error occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUBLISHER_NAME

public static java.lang.String PUBLISHER_NAME

logger

public static transient org.apache.log4j.Logger logger
Constructor Detail

DynamicPublisher

public DynamicPublisher()
Class constructor.

Method Detail

getPublisherName

public java.lang.String getPublisherName(it.eng.spago.base.RequestContainer request,
                                         it.eng.spago.base.ResponseContainer response)
Given the request at input, gets the name of the reference publisher,driving the execution into the correct jsp page, or jsp error page, if any error occurred.

Specified by:
getPublisherName in interface it.eng.spago.presentation.PublisherDispatcherIFace
Parameters:
request - The request container object containing all request information
response - The response container object containing all response information
Returns:
A string representing the name of the correct publisher, which will call the correct jsp reference.