public interface APIManagerMBean
Modifier and Type | Method and Description |
---|---|
String |
getAPIName()
Gets the name of the API.
|
String |
getAPIVersion()
Gets the version of the API.
|
javax.management.openmbean.CompositeDataSupport |
getBootstrapProperties()
Gets the bootstrap properties.
|
String[] |
getFunctionNames()
Gets the list of the API functions.
|
javax.management.openmbean.CompositeDataSupport |
getRuntimeProperties()
Gets the runtime properties.
|
String |
getStartupTime()
Gets the time at which the API was started.
|
javax.management.openmbean.TabularDataSupport |
getStatistics()
Gets the statistics of the functions.
|
String |
getXINSVersion()
Gets the version of XINS which is running this API.
|
void |
noOp()
Executes the _NoOp meta function.
|
void |
reloadProperties()
Reloads the runtime properties if the file has changed.
|
String getAPIVersion() throws IOException
IOException
- if the connection to the MBean fails.String getXINSVersion() throws IOException
IOException
- if the connection to the MBean fails.String getAPIName() throws IOException
IOException
- if the connection to the MBean fails.javax.management.openmbean.CompositeDataSupport getBootstrapProperties() throws IOException
IOException
- if the connection to the MBean fails.javax.management.openmbean.CompositeDataSupport getRuntimeProperties() throws IOException
IOException
- if the connection to the MBean fails.String getStartupTime() throws IOException
IOException
- if the connection to the MBean fails.String[] getFunctionNames() throws IOException
IOException
- if the connection to the MBean fails.javax.management.openmbean.TabularDataSupport getStatistics() throws IOException
IOException
- if the connection to the MBean fails.void noOp() throws IOException, NoSuchFunctionException, AccessDeniedException
IOException
- if the connection to the MBean fails.NoSuchFunctionException
- if the _noOp meta function is not found.AccessDeniedException
- if the JMX client is not in the ACLs to execute the _noOp meta function.void reloadProperties() throws IOException, NoSuchFunctionException, AccessDeniedException
IOException
- if the connection to the MBean fails.NoSuchFunctionException
- if the _ReloadProperties meta function is not found.AccessDeniedException
- if the JMX client is not in the ACLs to execute the _ReloadProperties meta function.See http://www.xins.org/.