public class ServiceStorage extends java.lang.Object implements MXRegistryStorage, FixedLoggers
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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.
|
public ServiceStorage(MXServer mxServer)
public ServiceRemote lookup(java.lang.String serviceName) throws MXException
MXException
public ServiceRemote lookupLocal(java.lang.String svcName) throws MXObjectNotFoundException
MXObjectNotFoundException
public boolean configure(java.lang.String serverUrl, java.lang.String input, java.lang.String type) throws MXSystemException
configure
in interface MXRegistryStorage
MXSystemException
public java.util.Enumeration elements()
elements
in interface MXRegistryStorage
public java.lang.String[] getLocalAppList()
public java.util.Enumeration getLocalServices()