Interface BusinessServiceConfigurationMBean
- All Superinterfaces:
CommonServiceConfigurationMBean,MonitoringConfigurationMBean
Provides API for managing business services
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidDetaches a collection of Business Services from the registry.voiddisableResultCaching(Ref serviceref) Disables result caching for the service.voiddisableThrottling(Ref serviceref) Disables throttling for the service.voiddisableURIOffline(Ref serviceref) Disables URI Offline for the service.voidenableResultCaching(Ref serviceref) Enables result caching for the service.voidenableThrottling(Ref serviceref) Enables throttling for the service.voidenableURIOffline(Ref serviceref) Enables URI Offline for the service.booleanisResultCachingEnabled(Ref serviceref) Returns true if result caching is enabledbooleanisThrottlingEnabled(Ref serviceref) Returns true if throttling is enabledbooleanisURIOfflineEnabled(Ref serviceref) Returns true if URI Offline is enabledsynchronizeServices(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
disableMessageTracing, disableService, enableMessageTracing, enableService, isEnabled, isMessageTracingEnabledMethods inherited from interface com.bea.wli.sb.management.configuration.MonitoringConfigurationMBean
disableMonitoring, disableSLAAlerting, enableMonitoring, enableSLAAlerting, isMonitoringEnabled, isSLAAlertingEnabled
-
Field Details
-
NAME
Name of this mbean- See Also:
-
TYPE
Type of this mbean
-
-
Method Details
-
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- In this case all the services which are not found in the registry will be marked for deletion.HandleDelete.MarkForDelete In this case all the services which are not found in the registry will be Deleted from the OSB.HandleDelete.Delete In this case all the services which are not found in the registry will be detached from the registry.HandleDelete.Detach- 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.
-
isResultCachingEnabled
Returns true if result caching is enabled- Parameters:
serviceref- reference to the service- Throws:
Exception
-
enableResultCaching
Enables result caching for the service.- Parameters:
serviceref- reference to the service- Throws:
Exception
-
disableResultCaching
Disables result caching for the service.- Parameters:
serviceref- reference to the service- Throws:
Exception
-
isThrottlingEnabled
Returns true if throttling is enabled- Parameters:
serviceref- reference to the service- Throws:
Exception
-
enableThrottling
Enables throttling for the service.- Parameters:
serviceref- reference to the service- Throws:
Exception
-
disableThrottling
Disables throttling for the service.- Parameters:
serviceref- reference to the service- Throws:
Exception
-
isURIOfflineEnabled
Returns true if URI Offline is enabled- Parameters:
serviceref- reference to the service- Throws:
Exception
-
enableURIOffline
Enables URI Offline for the service.- Parameters:
serviceref- reference to the service- Throws:
Exception
-
disableURIOffline
Disables URI Offline for the service.- Parameters:
serviceref- reference to the service- Throws:
Exception
-