use of org.apache.aries.subsystem.scope.itests.ScopeProvider in project aries by apache.
the class Activator method start.
public void start(BundleContext bundleContext) throws Exception {
scopeRef = bundleContext.getServiceReference(Scope.class);
final Scope scope = bundleContext.getService(scopeRef);
scopeProviderReg = bundleContext.registerService(ScopeProvider.class, new ScopeProvider() {
public Scope getScope() {
return scope;
}
}, null);
}
Aggregations