Sonic ESB API

com.sonicsw.esb.service.common.impl.core
Class AbstractXQService

java.lang.Object
  extended by com.sonicsw.esb.service.common.impl.core.AbstractXQService
All Implemented Interfaces:
XQService, com.sonicsw.xqimpl.service.InstanceMetricCapable
Direct Known Subclasses:
AbstractSFCServiceImpl

public abstract class AbstractXQService
extends java.lang.Object
implements XQService, com.sonicsw.xqimpl.service.InstanceMetricCapable

Base implementation of XQService that integrates some non-public ESB APIs.


Constructor Summary
AbstractXQService()
           
 
Method Summary
 void disableInstanceMetric(com.sonicsw.mf.common.metrics.IMetricIdentity metricId)
          Indicates that the specified metric is being disabled and that any associated resources - such as the statistic - can be released.
 com.sonicsw.mf.common.metrics.manager.IStatistic enableInstanceMetric(com.sonicsw.mf.common.metrics.IMetricIdentity metricId)
          Provides the statistic object for the specified metric.
 void setMetricsRegistrar(MetricsRegistrar metricsRegistrar)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sonicsw.xq.XQService
destroy, init, service
 

Constructor Detail

AbstractXQService

public AbstractXQService()
Method Detail

disableInstanceMetric

public void disableInstanceMetric(com.sonicsw.mf.common.metrics.IMetricIdentity metricId)
Description copied from interface: com.sonicsw.xqimpl.service.InstanceMetricCapable
Indicates that the specified metric is being disabled and that any associated resources - such as the statistic - can be released.

Specified by:
disableInstanceMetric in interface com.sonicsw.xqimpl.service.InstanceMetricCapable
Parameters:
metricId - the metric that is being disabled

enableInstanceMetric

public com.sonicsw.mf.common.metrics.manager.IStatistic enableInstanceMetric(com.sonicsw.mf.common.metrics.IMetricIdentity metricId)
Description copied from interface: com.sonicsw.xqimpl.service.InstanceMetricCapable
Provides the statistic object for the specified metric. The resulting statistic will be registered with the metrics manager to enable this metric.

Specified by:
enableInstanceMetric in interface com.sonicsw.xqimpl.service.InstanceMetricCapable
Parameters:
metricId - the metric that is being enabled
Returns:
the corresponding statistic

setMetricsRegistrar

public void setMetricsRegistrar(MetricsRegistrar metricsRegistrar)

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.