atg.adc.droplet
Class InsertTag

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.nucleus.TimedOperationService
              extended by atg.nucleus.servlet.ServletService
                  extended by atg.nucleus.servlet.HttpServletService
                      extended by atg.servlet.DynamoServlet
                          extended by atg.adc.droplet.ADCDroplet
                              extended by atg.adc.droplet.InsertTag
All Implemented Interfaces:
atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, ParameterServlet, java.util.EventListener, javax.servlet.Servlet

public class InsertTag
extends ADCDroplet

This droplet will insert the ADC data using the ADCEventMonitor. The droplet can be invoked with the following parameters:

  <dsp:droplet name="/atg/adc/droplet/InsertTag">
    <dsp:oparam name="output">
      <dsp:valueof param="data" converter="valueishtml"/>
    </dsp:oparam>
  </dsp:droplet>
 

Note: Be sure to use the "valueishtml" converter as the results may be html content

The input parameters for this servlet are:

client
The optional parameter that specifies the name of an ADC client whose data should be generated. If omitted, all clients are processed.
location
The optional parameter that specifies whether to generate content that is normally generated at the </head> or </body> tag. Acceptable values for this parameter are head and body.

The following parameters are rendered:

output
Always rendered

The output parameters for this servlet are:

data
Set to the results of ADCEventMonitor.processADCData


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static ParameterName CLIENT
           
static java.lang.String DATA
           
static ParameterName LOCATION
           
static ParameterName OUTPUT
           
 
Fields inherited from class atg.adc.droplet.ADCDroplet
sResourceBundle
 
Fields inherited from class atg.servlet.DynamoServlet
mAllowCleanupRequest, mParameters
 
Fields inherited from class atg.nucleus.servlet.ServletService
SERVLET_INFO_KEY
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
InsertTag()
           
 
Method Summary
 void service(ADCEventMonitor pEventMonitor, ADCRequestData pRequestData, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
          This will create an output parameter with a variable called "data" containing the auto-tagging output.
 
Methods inherited from class atg.adc.droplet.ADCDroplet
getADCEventMonitor, service, setADCEventMonitor
 
Methods inherited from class atg.servlet.DynamoServlet
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, setParameter
 
Methods inherited from class atg.nucleus.servlet.ServletService
destroy, getServletConfig, getServletInfo, init, setServletInfo
 
Methods inherited from class atg.nucleus.TimedOperationService
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
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

OUTPUT

public static final ParameterName OUTPUT

CLIENT

public static final ParameterName CLIENT

LOCATION

public static final ParameterName LOCATION

DATA

public static final java.lang.String DATA
See Also:
Constant Field Values
Constructor Detail

InsertTag

public InsertTag()
Method Detail

service

public void service(ADCEventMonitor pEventMonitor,
                    ADCRequestData pRequestData,
                    DynamoHttpServletRequest pRequest,
                    DynamoHttpServletResponse pResponse)
             throws javax.servlet.ServletException,
                    java.io.IOException
This will create an output parameter with a variable called "data" containing the auto-tagging output.

Specified by:
service in class ADCDroplet
Parameters:
pEventMonitor - The ADCEventMonitor
pRequest - The current request
pResponse - The current response
Throws:
javax.servlet.ServletException
java.io.IOException