atg.endeca.assembler
Class NucleusAssemblerFactory
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.endeca.assembler.NucleusAssemblerFactory
- 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, java.util.EventListener
public class NucleusAssemblerFactory
- extends GenericService
A Factory used to create a NucleusAssembler. The NucleusAssembler is
responsible for returning a cartridge handler for a particular cartridge
type. The mapping between the cartridge handler type and the cartridge
component path should be set in the cartridgeHandlers property.
Nested Class Summary |
protected class |
NucleusAssemblerFactory.NucleusAssembler
A NucleusAssembler whose getCartridgeHandler method returns a cartridge
handler component for the passed in cartridge handler type. |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
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 |
NucleusAssemblerFactory
public NucleusAssemblerFactory()
getAssemblerTools
public AssemblerTools getAssemblerTools()
- Returns:
- AssemblerTools bean containing useful methods for use with the
assembler.
setAssemblerTools
public void setAssemblerTools(AssemblerTools pAssemblerTools)
- Parameters:
mAssemblerTools
- Set a new AssemblerTools
getAssemblerSettings
public AssemblerSettings getAssemblerSettings()
- Returns:
- Assembler settings
setAssemblerSettings
public void setAssemblerSettings(AssemblerSettings pAssemblerSettings)
- Parameters:
pAssemblerSettings
- Set a new assembler settings
getDefaultHandlerPath
public java.lang.String getDefaultHandlerPath()
- Returns:
- Path to the default handler directory.
setDefaultHandlerPath
public void setDefaultHandlerPath(java.lang.String pDefaultHandlerPath)
- Parameters:
pDefaultHandlerPath
- Set a new path to the default handler directory
getGuidedSearchHandlerPath
public java.lang.String getGuidedSearchHandlerPath()
- Returns:
- Path to a directory on the config path that contains cartridge
handlers for use with Guided Search. If Guided Search is not in use this
property can be ignored.
setGuidedSearchHandlerPath
public void setGuidedSearchHandlerPath(java.lang.String pGuidedSearchHandlerPath)
- Parameters:
pGuidedSearchHandlerPath
- Set a new guidedSearchHandlerPath
getExperienceManagerHandlerPath
public java.lang.String getExperienceManagerHandlerPath()
- Returns:
- Path to a directory on the config path that contains cartridge
handlers for use with Experience Manager. If Experience Manager is not in
use this property can be ignored.
setExperienceManagerHandlerPath
public void setExperienceManagerHandlerPath(java.lang.String pExperienceManagerHandlerPath)
- Parameters:
pExperienceManagerHandlerPath
- Set a new experienceManagerHandlerPath
getHandlerMapping
public java.util.Map<java.lang.String,java.lang.String> getHandlerMapping()
- Returns:
- A map whose keys are cartridge types and whose values are handler
components.
setHandlerMapping
public void setHandlerMapping(java.util.Map<java.lang.String,java.lang.String> pHandlerMapping)
- Parameters:
pHandlerMapping
- Set a new handlerMapping map
createAssembler
public Assembler createAssembler()
throws AssemblerException
- Construct a new NucleusAssembler
- Throws:
AssemblerException