Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.4.0)

E15033-02


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

All Superinterfaces:
CommonServiceConfigurationMBean

public interface BusinessServiceConfigurationMBean
extends CommonServiceConfigurationMBean

Provides API for managing business services


Field Summary
static java.lang.String NAME
          Name of this mbean
static java.lang.String TYPE
          Type of this mbean

 

Method Summary
 void detachBusinessServicesFromRegistry(java.util.Collection<Ref> refs)
          Detaches a collection of Business Services from the registry.
 void disableResultCaching(Ref serviceref)
          Disables result caching for the service.
 void enableResultCaching(Ref serviceref)
          Enables result caching for the service.
 boolean isResultCachingEnabled(Ref serviceref)
          Returns true if result caching is enabled
 Diagnostics[] synchronizeServices(java.util.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

 

Field Detail

NAME

static final java.lang.String NAME
Name of this mbean
See Also:
Constant Field Values

TYPE

static final java.lang.String TYPE
Type of this mbean

Method Detail

synchronizeServices

Diagnostics[] synchronizeServices(java.util.Collection<Ref> refs,
                                  HandleDelete handleDelete)
                                  throws NotFoundException,
                                         java.lang.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 OSB.
  • 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.
    java.lang.IllegalArgumentException - If the Ref does not corresponds to a business service ref.

detachBusinessServicesFromRegistry

void detachBusinessServicesFromRegistry(java.util.Collection<Ref> refs)
                                        throws NotFoundException,
                                               java.lang.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.
java.lang.IllegalArgumentException - If the ref does not corresponds to a business service ref.

isResultCachingEnabled

boolean isResultCachingEnabled(Ref serviceref)
                               throws java.lang.Exception
Returns true if result caching is enabled
Parameters:
serviceref - reference to the service
Throws:
java.lang.Exception

enableResultCaching

void enableResultCaching(Ref serviceref)
                         throws java.lang.Exception
Enables result caching for the service.
Parameters:
serviceref - reference to the service
Throws:
java.lang.Exception

disableResultCaching

void disableResultCaching(Ref serviceref)
                          throws java.lang.Exception
Disables result caching for the service.
Parameters:
serviceref - reference to the service
Throws:
java.lang.Exception

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.4.0)

E15033-02

Copyright © 2008, 2010, Oracle. All rights reserved.