public class ServiceStorage extends java.lang.Object implements MXRegistryStorage, FixedLoggers
| Modifier and Type | Field and Description |
|---|---|
protected MXServer |
mxServer
The containing MXServer.
|
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
ServiceStorage(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(java.lang.String serverUrl,
java.lang.String input,
java.lang.String type)
"Compile" a line from the configuration file.
|
java.util.Enumeration |
elements()
Return an Enumeration of just the AppService elements.
|
java.lang.String[] |
getLocalAppList()
Return an array of the just the local AppService names
|
java.util.Enumeration |
getLocalServices()
Create a vector to the current set of LocalServices and return
an enumerator to it.
|
ServiceRemote |
lookup(java.lang.String serviceName)
Returns the least loaded service provider.
|
ServiceRemote |
lookupLocal(java.lang.String svcName)
Lookup a service that's local to this server.
|
protected MXServer mxServer
public ServiceStorage(MXServer mxServer)
public ServiceRemote lookup(java.lang.String serviceName) throws MXException
MXExceptionpublic ServiceRemote lookupLocal(java.lang.String svcName) throws MXObjectNotFoundException
MXObjectNotFoundExceptionpublic boolean configure(java.lang.String serverUrl,
java.lang.String input,
java.lang.String type)
throws MXSystemException
configure in interface MXRegistryStorageMXSystemExceptionpublic java.util.Enumeration elements()
elements in interface MXRegistryStoragepublic java.lang.String[] getLocalAppList()
public java.util.Enumeration getLocalServices()