com.bea.wli.sb.management.configuration
Interface CommonServiceConfigurationMBean

All Superinterfaces:
weblogic.management.provider.Service
All Known Subinterfaces:
BusinessServiceConfigurationMBean, ProxyServiceConfigurationMBean

public interface CommonServiceConfigurationMBean
extends weblogic.management.mbeanservers.Service

Provides common API for managing business and proxy services


Method Summary
 void disableMonitoring(Ref serviceref)
          Disables monitoring for this service.
 void disableService(Ref serviceref)
          Disables the service.
 void enableMonitoring(Ref serviceref)
          Enables monitoring for this service.
 void enableService(Ref serviceref)
          Enables the service.
 boolean isEnabled(Ref serviceref)
          Returns true if the service is enabled
 boolean isMonitoringEnabled(Ref serviceref)
          Returns true if the monitoring for this service is enabled
 
Methods inherited from interface weblogic.management.mbeanservers.Service
getName, getParentAttribute, getParentService, getPath, getType
 

Method Detail

isEnabled

boolean isEnabled(Ref serviceref)
                  throws Exception
Returns true if the service is enabled

Parameters:
serviceref - reference to the service
Throws:
Exception

enableService

void enableService(Ref serviceref)
                   throws Exception
Enables the service.

Parameters:
serviceref - reference to the service
Throws:
Exception

disableService

void disableService(Ref serviceref)
                    throws Exception
Disables the service.

Parameters:
serviceref - reference to the service
Throws:
Exception

isMonitoringEnabled

boolean isMonitoringEnabled(Ref serviceref)
                            throws Exception
Returns true if the monitoring for this service is enabled

Parameters:
serviceref - the reference to the service
Throws:
Exception

enableMonitoring

void enableMonitoring(Ref serviceref)
                      throws Exception
Enables monitoring for this service. If service is disabled, however, monitoring metrics will not be collected, until the service is enabled again.

Parameters:
serviceref - the reference to the service
Throws:
Exception

disableMonitoring

void disableMonitoring(Ref serviceref)
                       throws Exception
Disables monitoring for this service.

Parameters:
serviceref - the reference to the service
Throws:
Exception