|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.agent.environment.EnvironmentMonitor
atg.svc.clicktoconnect.C2CServiceEnvironmentMonitor
public class C2CServiceEnvironmentMonitor
This environment monitor generates change details when a new click to connect request is received.
A profile change detail is generated based on the customer profile id in
the C2CRequestData
. If no profileId is provided, a new profile
change detail is generated.
In postApplyChanges
the C2CRequestData
object is saved
in the CallState
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected atg.clicktoconnect.C2CSessionDataPropertyManager |
mC2CSessionDataPropertyManager
|
protected C2CTools |
mC2CTools
|
protected LandingPageManager |
mLandingPageManager
|
Fields inherited from class atg.svc.agent.environment.EnvironmentMonitor |
---|
mEnvironmentTools |
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 | |
---|---|
C2CServiceEnvironmentMonitor()
|
Method Summary | |
---|---|
void |
applyChanges(EnvironmentChangeState pEnvironmentChangeState)
Noop impl |
protected void |
generateChangeDetailsForChangeKey(java.lang.String pChangeKey,
EnvironmentChangeState pEnvironmentChangeState)
A profile change detail is generated based on the customer profile id in the C2CRequestData , which is passed in as an input parameter within
the environment change state. |
protected void |
generateDependentChangeDetails(EnvironmentChangeDetail pEnvironmentChangeDetail,
EnvironmentChangeState pEnvironmentChangeState)
A no op impl |
atg.clicktoconnect.C2CSessionDataPropertyManager |
getC2CSessionDataPropertyManager()
Returns a reference to the platform click to connect property manager |
C2CTools |
getC2CTools()
Returns a reference to the click to connect tools component |
java.lang.Object |
getEnvironmentObject(java.lang.String pEnvironmentObjectName)
A no op impl. |
LandingPageManager |
getLandingPageManager()
|
void |
postApplyChanges(EnvironmentChangeState pEnvironmentChangeState)
For click to connect new calls, this method will save the C2CRequestData object in the current call state and call the LandingPageManger |
void |
setC2CSessionDataPropertyManager(atg.clicktoconnect.C2CSessionDataPropertyManager pC2CSessionDataPropertyManager)
|
void |
setC2CTools(C2CTools pTools)
|
void |
setLandingPageManager(LandingPageManager pLandingPageManager)
|
Methods inherited from class atg.svc.agent.environment.EnvironmentMonitor |
---|
createWarningsForEnvironmentChange, generateChangeDetails, getAgentMessagingTools, getEnvironmentTools, initializeDefaultsForProfile, preApplyChanges, revertChanges, setAgentMessagingTools, setEnvironmentTools |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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 |
---|
public static final java.lang.String CLASS_VERSION
protected C2CTools mC2CTools
protected LandingPageManager mLandingPageManager
protected atg.clicktoconnect.C2CSessionDataPropertyManager mC2CSessionDataPropertyManager
Constructor Detail |
---|
public C2CServiceEnvironmentMonitor()
Method Detail |
---|
public C2CTools getC2CTools()
public void setC2CTools(C2CTools pTools)
public LandingPageManager getLandingPageManager()
public void setLandingPageManager(LandingPageManager pLandingPageManager)
public atg.clicktoconnect.C2CSessionDataPropertyManager getC2CSessionDataPropertyManager()
public void setC2CSessionDataPropertyManager(atg.clicktoconnect.C2CSessionDataPropertyManager pC2CSessionDataPropertyManager)
protected void generateChangeDetailsForChangeKey(java.lang.String pChangeKey, EnvironmentChangeState pEnvironmentChangeState) throws atg.svc.agent.environment.EnvironmentChangeDetailConflict, EnvironmentException
C2CRequestData
, which is passed in as an input parameter within
the environment change state.
If no profileId is provided in the C2CRequestData
object, a new profile
change detail is generated.
generateChangeDetailsForChangeKey
in class EnvironmentMonitor
atg.svc.agent.environment.EnvironmentChangeDetailConflict
EnvironmentException
C2CConstants.ENV_CHG_START_NEW_C2C_CALL
,
C2CConstants.ENV_CHG_START_NEW_C2C_CALL_C2CREQUESTDATA_PARAM
,
C2CRequestData
protected void generateDependentChangeDetails(EnvironmentChangeDetail pEnvironmentChangeDetail, EnvironmentChangeState pEnvironmentChangeState) throws atg.svc.agent.environment.EnvironmentChangeDetailConflict, EnvironmentException
generateDependentChangeDetails
in class EnvironmentMonitor
atg.svc.agent.environment.EnvironmentChangeDetailConflict
EnvironmentException
public void applyChanges(EnvironmentChangeState pEnvironmentChangeState) throws EnvironmentException
applyChanges
in class EnvironmentMonitor
EnvironmentException
EnvironmentTools.applyChanges(EnvironmentChangeState)
,
EnvironmentMonitor.revertChanges(EnvironmentChangeState)
public java.lang.Object getEnvironmentObject(java.lang.String pEnvironmentObjectName) throws EnvironmentException
getEnvironmentObject
in class EnvironmentMonitor
EnvironmentException
public void postApplyChanges(EnvironmentChangeState pEnvironmentChangeState) throws EnvironmentException
LandingPageManger to apply the
landing page
- Overrides:
postApplyChanges
in class EnvironmentMonitor
- Parameters:
pEnvironmentChangeState
-
- Throws:
EnvironmentException
- See Also:
LandingPageManager.applyLandingPage(C2CRequestData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |