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 disableSLAAlerting(Ref serviceRef)
          Disables SLA alerts for this service.
 void enableMonitoring(Ref serviceref)
          Enables monitoring for this service.
 void enableService(Ref serviceref)
          Enables the service.
 void enableSLAAlerting(Ref serviceRef)
          Enables the SLA alerts flag for this 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
 boolean isSLAAlertingEnabled(Ref serviceRef)
          Returns true if the SLA alert flag 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

isSLAAlertingEnabled

boolean isSLAAlertingEnabled(Ref serviceRef)
                             throws Exception
Returns true if the SLA alert flag for this service is enabled.

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

enableSLAAlerting

void enableSLAAlerting(Ref serviceRef)
                       throws Exception
Enables the SLA alerts flag for this service. If this is first time the SLA alert flag is being enabled for this service, the severity level is set to "Normal". If the SLA alert flag was enabled for this service at any point in the past, it is now re-enabled at the most recent level of severity.

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

disableSLAAlerting

void disableSLAAlerting(Ref serviceRef)
                        throws Exception
Disables SLA alerts for this service.

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