public class JAXRSApplicationRegistry extends GenericService
Modifier and Type | Class and Description |
---|---|
static class |
JAXRSApplicationRegistry.JAXRSApplicationRegistryAdminServlet
JAXRSApplication registry admin servlet.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
JAXRSAPPLICATIONREGISTRY_OBSERVER |
static java.lang.String |
LATEST_APPLICATION_UPDATED |
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 |
---|
JAXRSApplicationRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(java.lang.Object pObserver)
Add an Observer to be notified when the model changes
|
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this
service.
|
java.util.TreeMap<java.lang.String,JAXRSApplication> |
getJAXRSApplicationsByContextRoot()
Getter for the map of jaxrs applications, keyed and ordered by context root
|
JAXRSApplication |
getLatest()
Getter for the latest (or current) jaxrs application by version.
|
void |
registerJAXRSApplication(JAXRSApplication pJAXRSApplication)
Adds a jaxrs application to the registry.
|
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, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
public static final java.lang.String JAXRSAPPLICATIONREGISTRY_OBSERVER
public static final java.lang.String LATEST_APPLICATION_UPDATED
public void registerJAXRSApplication(JAXRSApplication pJAXRSApplication)
pJAXRSApplication
- jaxrs application to addpublic JAXRSApplication getLatest()
public java.util.TreeMap<java.lang.String,JAXRSApplication> getJAXRSApplicationsByContextRoot()
protected javax.servlet.Servlet createAdminServlet()
GenericService
createAdminServlet
in class GenericService
public void addObserver(java.lang.Object pObserver)
pObserver
- - Observer to be added