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

All Superinterfaces:
CommonServiceConfigurationMBean, weblogic.management.provider.Service

public interface BusinessServiceConfigurationMBean
extends CommonServiceConfigurationMBean

Provides API for managing business services


Field Summary
static String NAME
          Name of this mbean
static String TYPE
          Type of this mbean
 
Method Summary
 void detachBusinessServicesFromRegistry(Collection<Ref> refs)
          Detaches a collection of Business Services from the registry.
 Diagnostics[] synchronizeServices(Collection<Ref> refs, HandleDelete handleDelete)
          Synchronizes a collection of business services by importing them from the registry.
 
Methods inherited from interface com.bea.wli.sb.management.configuration.CommonServiceConfigurationMBean
disableMonitoring, disableService, disableSLAAlerting, enableMonitoring, enableService, enableSLAAlerting, isEnabled, isMonitoringEnabled, isSLAAlertingEnabled
 
Methods inherited from interface weblogic.management.mbeanservers.Service
getName, getParentAttribute, getParentService, getPath, getType
 

Field Detail

NAME

static final String NAME
Name of this mbean

See Also:
Constant Field Values

TYPE

static final String TYPE
Type of this mbean

Method Detail

synchronizeServices

Diagnostics[] synchronizeServices(Collection<Ref> refs,
                                  HandleDelete handleDelete)
                                  throws NotFoundException,
                                         IllegalArgumentException
Synchronizes a collection of business services by importing them from the registry. If the collection contains a service which was not originally imported from the registry then it will be ignored.

Parameters:
refs - Collection of all the Ref which have to be synchronized.
handleDelete -
  • HandleDelete.MarkForDelete
  • In this case all the services which are not found in the registry will be marked for deletion.
  • HandleDelete.Delete
  • In this case all the services which are not found in the registry will be Deleted from the ALSB.
  • HandleDelete.Detach
  • In this case all the services which are not found in the registry will be detached from the registry.
    Returns:
    Any error during the synchronization will be provided back in Diagnostics.
    Throws:
    NotFoundException - If a Ref is not found.
    IllegalArgumentException - If the Ref does not corresponds to a business service ref.

    detachBusinessServicesFromRegistry

    void detachBusinessServicesFromRegistry(Collection<Ref> refs)
                                            throws NotFoundException,
                                                   IllegalArgumentException
    Detaches a collection of Business Services from the registry. If the collection contains a service that was not originally imported from the registry then it will be ignored.

    Parameters:
    refs - Collection of Refs to be detached.
    Throws:
    NotFoundException - If the resource is not found.
    IllegalArgumentException - If the ref does not corresponds to a business service ref.