jrunx.kernel
Interface ServicePartitionMBean

All Superinterfaces:
java.io.Serializable, Service, ServiceMBean
All Known Subinterfaces:
ApplicationContainerMBean, AxisServiceMBean, ClusterableServiceAdapterMBean, ClusterDeployerServiceMBean, ClusterManagerMBean, ConfigurableServicePartitionMBean, ContainerMBean, DeployerServiceMBean, EJBContainerMBean, EnterpriseApplicationMBean, InstrumentationServiceMBean, J2EEConnectorMBean, J2EEModuleMBean, JMSAdapter, JMSCore, JMSCoreServiceMBean, JMSServicePartitionMBean, JRunJMSAdapterMBean, JRunJMSMBean, JRunProxyClusterHelperMBean, JRunServerMBean, JRunTransactionServiceMBean, Logger, LoggerServiceMBean, MessageManager, MessageManagerServiceMBean, ResourceServiceInterface, ResourceServiceMBean, RMIBrokerMBean, ServletEngine, ServletEngineServiceMBean, ServletUsers, ServletUsersServiceMBean, Session, SessionReplicationServiceMBean, SessionServiceMBean, SonicMQAdapterMBean, WebApplication, WebApplicationServiceMBean, WebAppSecurity, WebAppSecurityServiceMBean
All Known Implementing Classes:
ServicePartition

public interface ServicePartitionMBean
extends ServiceMBean

The Service Partition is a Service that contains other Services visible only to it. The Services that compose a partition have no meaning or use outside the bounds of the partition, so their lifecycles should be controlled bu that partition rather than by the server's global MBeanServer lifecycle management facilities. This is accomplished by associating a new JMX domain with the partition and by adding all of the partitioned services to the MBeanServer under that domain name.


Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 void addService(ServiceMBean service)
          Add a ServiceMBean to the partitioned Services.
 void addService(ServiceMBean service, javax.management.ObjectName serviceName)
          Add a ServiceMBean to the partitioned Services using the specified ObjectName for the Service.
 java.util.Iterator iterator()
          Return an iteration of these partitioned services.
 void removeService(javax.management.ObjectName serviceName)
          Remove a ServiceMBean from the partitioned Services by its ObjectName
 void removeService(ServiceMBean service)
          Remove a ServiceMBean from the partitioned Services
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Method Detail

addService

public void addService(ServiceMBean service)
                throws java.lang.Exception
Add a ServiceMBean to the partitioned Services.

addService

public void addService(ServiceMBean service,
                       javax.management.ObjectName serviceName)
                throws java.lang.Exception
Add a ServiceMBean to the partitioned Services using the specified ObjectName for the Service.

iterator

public java.util.Iterator iterator()
Return an iteration of these partitioned services.

removeService

public void removeService(ServiceMBean service)
                   throws java.lang.Exception
Remove a ServiceMBean from the partitioned Services

removeService

public void removeService(javax.management.ObjectName serviceName)
                   throws java.lang.Exception
Remove a ServiceMBean from the partitioned Services by its ObjectName


Copyright � 2002 Macromedia Corporation. All Rights Reserved.