Class InterceptorCapabilityProvider
- java.lang.Object
-
- org.wso2.msf4j.analytics.internal.InterceptorCapabilityProvider
-
- All Implemented Interfaces:
org.wso2.carbon.kernel.startupresolver.CapabilityProvider
public class InterceptorCapabilityProvider extends java.lang.Object implements org.wso2.carbon.kernel.startupresolver.CapabilityProviderThis class signals Startup Order Resolver module in kernel that this bundle provides two services of typeInterceptor
-
-
Constructor Summary
Constructors Constructor Description InterceptorCapabilityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Returns the count ofInterceptorOSGi services registered by this bundle.
-
-
-
Method Detail
-
getCount
public int getCount()
Returns the count ofInterceptorOSGi services registered by this bundle.This bundle registers two Interceptors 1.
HTTPMonitoringInterceptor2.MetricsInterceptorBut here we return count as one, due to a bug in the startup launcher in Kernel.- Specified by:
getCountin interfaceorg.wso2.carbon.kernel.startupresolver.CapabilityProvider- Returns:
- count of
Interceptorservices registered by this bundle.
-
-