| |
|
| java.lang.Object com.sun.jbi.management.system.ModelSystemService com.sun.jbi.management.system.AdminService
AdminService | public class AdminService extends ModelSystemService implements AdminServiceMBean,NotificationListener(Code) | | AdminServiceMBean defines the Sun Extentions to AdminServiceMBean.
The AdminService is responsible for bootstrapping the
JBI Framework management layer for all other system services,
starting and stoping the system, and providing information
that remote clients can use to access other JBI Framework
system services and installed components.
author: Sun Microsystems, Inc. |
AdminService | public AdminService(ManagementContext anEnv)(Code) | | Constructs a AdminService.
Parameters: anEnv - is the ManagementContext. |
getBindingComponents | public ObjectName[] getBindingComponents()(Code) | | Get a list of
ComponentLifeCycleMBean s for all binding components
currently installed in the JBI system.
array of JMX object names of component life cycle MBeans for all installed binding components; must be non-null; may be empty |
getBuildNumber | public String getBuildNumber()(Code) | | the build number for this version. |
getComponentByName | public ObjectName getComponentByName(String name)(Code) | | Find the
ComponentLifeCycleMBean of a JBI Installable Component
by its unique name.
Parameters: name - the name of the engine or binding component; must be non-null and non-empty the JMX object name of the component's life cycle MBean, or null if there is no such component with the given name |
getComponentMBeans | public ObjectName[] getComponentMBeans(String componentName)(Code) | | Lookup all active MBeans associated with componentName .
Parameters: componentName - - is the name of the BC or SE. the array of JMX object names for the component. |
getCopyright | public String getCopyright()(Code) | | the Copyright for this version. |
getDeployerMBeanNames | public ObjectName[] getDeployerMBeanNames(String componentName)(Code) | | Get the DeployerMBean for the componentName associated with
artifactUrl .
JMX object name of Component's DeployerMBean or null |
getEngineComponents | public ObjectName[] getEngineComponents()(Code) | | Get a list of
ComponentLifeCycleMBean s for all service engines
currently installed in the JBI system.
array of JMX object names of component life cycle MBeans for all installed service engines; must be non-null; may be empty |
getFullProductName | public String getFullProductName()(Code) | | the full product name. |
getJbiInstanceName | public String getJbiInstanceName()(Code) | | Return the name of this JBI Framework runtime
the instance name of this runtime. |
getMajorVersion | public String getMajorVersion()(Code) | | the major version number. |
getMinorVersion | public String getMinorVersion()(Code) | | the minor version number. |
getRemoteFileUploadURL | public String getRemoteFileUploadURL() throws Exception(Code) | | Return URL that can be used to upload and deploy a remote
Service Assembly.
URL String |
getShortProductName | public String getShortProductName()(Code) | | the short product name. |
getSystemInfo | public String getSystemInfo()(Code) | | Return current version and other info about this JBI implementation. The
contents of the returned string are implementation dependent.
information string about the JBI implementation, including version information; must be non-null and non-empty |
getSystemService | public ObjectName getSystemService(String serviceName)(Code) | | Lookup a system service
LifeCycleMBean by name. System services
are implementation-defined services which can administered through JMX,
and have a life cycle.
System services are not related to service engines.
Parameters: serviceName - name of the system service; must be non-null and non-empty; values are implementation-dependent JMX object name of the system service's LifeCycleMBean, or null if there is no system service with the givenname . |
getSystemServices | public ObjectName[] getSystemServices()(Code) | | Looks up all JBI system services
LifeCycleMBean 's currently
installed. System services are implementation-defined services which can
administered through JMX. System services are not related to service
engines.
array of LifecycleMBean JMX object names of system services currently installed in the JBI implementation; must be non-null;may be empty |
handleNotification | public void handleNotification(Notification aNotification, Object anObject)(Code) | | Handle timer notifications.
Parameters: aNotification - is the received (timer) notification Parameters: anObject - is the notification object (ignored) |
isBinding | public boolean isBinding(String componentName)(Code) | | Check if a given JBI component is a Binding Component.
Parameters: componentName - the unique name of the component; must be non-nulland non-empty true if the component is a binding component; false if the component is a service engine or ifthere is no component with the given componentName installed in the JBI system |
isEngine | public boolean isEngine(String componentName)(Code) | | Check if a given JBI component is a Service Engine.
Parameters: componentName - the unique name of the component; must be non-nulland non-empty true if the component is a service engine;false if the component is a binding component, or ifthere is no component with the given componentName installed in the JBI system |
queryHelper | public ObjectName[] queryHelper(String qStr)(Code) | | Execute a query and return array of mbean object names with result.
This form of queryHelper always executes in the local mbean server.
Parameters: qStr - is a JMX formatted query string array of JMX object names, possibly of zero length. |
queryHelper | public ObjectName[] queryHelper(String qStr, MBeanServerConnection rmbs)(Code) | | Execute a query and return array of mbean object names with result.
Parameters: qStr - is a JMX formatted query string array of JMX object names, possibly of zero length. |
shutdownManagementServices | public boolean shutdownManagementServices()(Code) | | Shutdown all Management service agents and deregister all MBeans..
true if successful. |
startManagementServices | public boolean startManagementServices()(Code) | | Start all Management service agents
true if successful. |
stopManagementServices | public boolean stopManagementServices()(Code) | | Stop all Management service agents and deregister Service Mbeans.
true if successful. |
|
|
|