|
|||||||||
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.endeca.assembler.configuration.AssemblerApplicationConfiguration
public class AssemblerApplicationConfiguration
Configuration extensions specific to configuration Endeca application-related information for the assembler.
Created: August 28 2012
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
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 | |
---|---|
AssemblerApplicationConfiguration()
|
Method Summary | |
---|---|
protected void |
addDefaultToMdexHostAndPort(boolean pOverride)
Add the default key to MdexHostAndPort based on the default |
void |
createWorkbenchContentSourcesFromPrototype()
New, create workbench content sources from our prototype one. |
void |
doStartService()
This is called after a Service has been created, placed into the naming hierarchy, and initialized with its configured property values. |
ApplicationConfiguration |
getApplicationConfiguration()
Returns property applicationConfiguration. |
java.lang.String |
getApplicationKey(DynamoHttpServletRequest pRequest)
Get the current Endeca (Workbench) application to which requests should be routed. |
java.util.Map<java.lang.String,java.lang.String> |
getApplicationKeyToMdexHostAndPort()
Returns property applicationKeyToMdexHostAndPort. |
java.util.Locale |
getApplicationLocale(DynamoHttpServletRequest pRequest)
Return locale of the current Endeca application give the locale of the current user. |
java.lang.String |
getApplicationName(DynamoHttpServletRequest pRequest)
Get the current Endeca (Workbench) application name, given the request. |
java.lang.String |
getCurrentApplicationKey()
Get the current Endeca (Workbench) application to which requests should be routed. |
java.util.Locale |
getCurrentApplicationLocale()
Return locale of the current Endeca application give the locale of the current user. |
java.lang.String |
getCurrentApplicationName()
Get the current Endeca (Workbench) application name. |
java.lang.String |
getCurrentInitializingWorkbenchContentSourceApplicationName()
Return the currentInitializingWorkbenchContentSourceApplicationName property. |
protected HostAndPort |
getCurrentMdexHostAndPort()
Return the current mdex host and port object. |
java.lang.String |
getCurrentMdexHostName()
Return host name for the MDEX to be used for the current Endeca application. |
int |
getCurrentMdexPort()
Return port number for the MDEX to be used for the current Endeca application. |
java.lang.String |
getDefaultMdexHostName()
Returns property defaultMdexHostName. |
int |
getDefaultMdexPort()
Returns property defaultMdexPort. |
java.lang.String |
getDynamicWorkbenchContentSourceBasePath()
Returns property dynamicWorkbenchContentSourceBasePath. |
java.util.Map<java.lang.String,HostAndPort> |
getParsedApplicationKeyToMdexHostAndPort()
Return the parsed map form of applicationKeyToMdexHostAndPort. |
java.lang.String |
getPrototypeWorkbenchContentSourcePath()
Returns property prototypeWorkbenchContentSourcePath. |
RequestRoutingObjectAdapter |
getRoutingObjectAdapter()
Returns property requestRoutingObjectAdapter. |
java.lang.String |
getWorkbenchHostName()
Returns property workbenchHostName. |
int |
getWorkbenchPort()
Returns property workbenchPort. |
protected boolean |
isDefaultMdexHostNameSet()
Whether the default MDEX host name was explicitly set to a non-null value. |
void |
setApplicationConfiguration(ApplicationConfiguration pApplicationConfiguration)
Sets property applicationConfiguration. |
void |
setApplicationKeyToMdexHostAndPort(java.util.Map<java.lang.String,java.lang.String> pApplicationKeyToMdexHostAndPort)
Sets property applicationKeyToMdexHostAndPort. |
void |
setDefaultMdexHostName(java.lang.String pDefaultMdexHostName)
Sets property defaultMdexHostName. |
void |
setDefaultMdexPort(int pDefaultMdexPort)
Sets property defaultMdexPort. |
void |
setDynamicWorkbenchContentSourceBasePath(java.lang.String pDynamicWorkbenchContentSourceBasePath)
Sets property dynamicWorkbenchContentSourceBasePath. |
void |
setPrototypeWorkbenchContentSourcePath(java.lang.String pPrototypeWorkbenchContentSourcePath)
Sets property prototypeWorkbenchContentSourcePath. |
void |
setRoutingObjectAdapter(RequestRoutingObjectAdapter pRoutingObjectAdapter)
Sets property routingObjectAdapter. |
protected boolean |
shouldCreateWorkbenchContentSourcesFromPrototype()
Whether we should call createWorkbenchContentSourcesFromPrototype() on component startup. |
protected boolean |
verifyApplicationKeyToMdexHostAndPort()
Verify that each application has an entriy in applicationKeyToMdexHostAndPort. |
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 |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public AssemblerApplicationConfiguration()
Method Detail |
---|
public java.lang.String getWorkbenchHostName()
public int getWorkbenchPort()
public void setApplicationKeyToMdexHostAndPort(java.util.Map<java.lang.String,java.lang.String> pApplicationKeyToMdexHostAndPort)
public java.util.Map<java.lang.String,java.lang.String> getApplicationKeyToMdexHostAndPort()
public java.util.Map<java.lang.String,HostAndPort> getParsedApplicationKeyToMdexHostAndPort()
public void setApplicationConfiguration(ApplicationConfiguration pApplicationConfiguration)
public ApplicationConfiguration getApplicationConfiguration()
public void setRoutingObjectAdapter(RequestRoutingObjectAdapter pRoutingObjectAdapter)
public RequestRoutingObjectAdapter getRoutingObjectAdapter()
public java.lang.String getCurrentInitializingWorkbenchContentSourceApplicationName()
public void setPrototypeWorkbenchContentSourcePath(java.lang.String pPrototypeWorkbenchContentSourcePath)
public java.lang.String getPrototypeWorkbenchContentSourcePath()
public void setDynamicWorkbenchContentSourceBasePath(java.lang.String pDynamicWorkbenchContentSourceBasePath)
public java.lang.String getDynamicWorkbenchContentSourceBasePath()
public void setDefaultMdexHostName(java.lang.String pDefaultMdexHostName)
public java.lang.String getDefaultMdexHostName()
protected boolean isDefaultMdexHostNameSet()
public void setDefaultMdexPort(int pDefaultMdexPort)
public int getDefaultMdexPort()
public java.lang.String getApplicationKey(DynamoHttpServletRequest pRequest)
pRequest
- the current dynamo request.public java.lang.String getCurrentApplicationKey()
pRequest
- the current dynamo request.public java.lang.String getApplicationName(DynamoHttpServletRequest pRequest)
pRequest
- the current dynamo request.public java.lang.String getCurrentApplicationName()
pRequest
- the current dynamo request.public java.util.Locale getApplicationLocale(DynamoHttpServletRequest pRequest)
public java.util.Locale getCurrentApplicationLocale()
protected boolean shouldCreateWorkbenchContentSourcesFromPrototype()
public void createWorkbenchContentSourcesFromPrototype()
public java.lang.String getCurrentMdexHostName()
public int getCurrentMdexPort()
protected HostAndPort getCurrentMdexHostAndPort()
protected boolean verifyApplicationKeyToMdexHostAndPort()
protected void addDefaultToMdexHostAndPort(boolean pOverride)
pOverride
- whether to override an existing value.public void doStartService() throws ServiceException
GenericService
doStartService
in class GenericService
ServiceException
- if the Service had a problem starting up
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |