atg.endeca.servlet
Class NucleusPreviewLinkServlet

java.lang.Object
  extended by AbstractPreviewLinkServlet
      extended by atg.endeca.servlet.NucleusPreviewLinkServlet

public class NucleusPreviewLinkServlet
extends AbstractPreviewLinkServlet

Extends the AbstractPreviewLinkServlet to provide the needed NavigationStateBuilder and ContentSource Nucleus components.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String CONTENT_SOURCE_COMPONENT_PARAM
          The servlet parameter used to specify the ContentSource Nucleus component to use.
static java.lang.String NAVIGATION_STATE_BUILDER_COMPONENT_PARAM
          The servlet parameter used to specify the NavigationStateBuilder Nucleus component to use.
 
Constructor Summary
NucleusPreviewLinkServlet()
           
 
Method Summary
protected  ContentSource getContentSource()
           
protected  NavigationStateBuilder getNavigationStateBuilder()
           
 void init(javax.servlet.ServletConfig pConfig)
          Initialize the servlet and retrieve the NavigationStateBuilder and ContentSource components to be used in the super class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

NAVIGATION_STATE_BUILDER_COMPONENT_PARAM

public static final java.lang.String NAVIGATION_STATE_BUILDER_COMPONENT_PARAM
The servlet parameter used to specify the NavigationStateBuilder Nucleus component to use.

See Also:
Constant Field Values

CONTENT_SOURCE_COMPONENT_PARAM

public static final java.lang.String CONTENT_SOURCE_COMPONENT_PARAM
The servlet parameter used to specify the ContentSource Nucleus component to use.

See Also:
Constant Field Values
Constructor Detail

NucleusPreviewLinkServlet

public NucleusPreviewLinkServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig pConfig)
          throws javax.servlet.ServletException
Initialize the servlet and retrieve the NavigationStateBuilder and ContentSource components to be used in the super class.

Parameters:
pConfig - - The servlet configuration object.
Throws:
javax.servlet.ServletException - When the required NavigationStateBuilder or ContentSource components can't be resolved.

getContentSource

protected ContentSource getContentSource()
Returns:
The resolved ContentSource component.

getNavigationStateBuilder

protected NavigationStateBuilder getNavigationStateBuilder()
Returns:
The resolved NavigationStateBuilder component.