public class CortexIntrospectorService extends GenericService implements CortexIntrospector
CortexIntrospector is the interface for obtaining the Cortex asssociated with a class. Implementations of CortexIntrospector may use various methods for finding or generating the Cortex
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
CortexIntrospectorService()
Constructs a new CortexIntrospectorService
|
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this
service.
|
Cortex |
getCortex(java.lang.Class pClass)
Returns the Cortex associated with the given class.
|
void |
registerCortex(java.lang.Class pClass,
Cortex pCortex)
Registers the specified Cortex for the specified class.
|
addLogListener, 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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public CortexIntrospectorService()
public Cortex getCortex(java.lang.Class pClass)
getCortex
in interface CortexIntrospector
pClass
- the class for which a Cortex is to be foundpublic void registerCortex(java.lang.Class pClass, Cortex pCortex)
registerCortex
in interface CortexIntrospector
pClass
- the Class with which the specified cortex is to be
associated.pCortex
- the Cortex to be associated with the specified classprotected javax.servlet.Servlet createAdminServlet()
createAdminServlet
in class GenericService