Search in sources :

Example 1 with AnnotatedClassRegistry

use of com.cognifide.apm.core.actions.scanner.AnnotatedClassRegistry in project APM by Cognifide.

the class ActionMapperRegistryImpl method activate.

@Activate
public void activate(ComponentContext componentContext) {
    registry = new AnnotatedClassRegistry(componentContext.getBundleContext(), BUNDLE_HEADER, Mapper.class);
    registry.addChangeListener(this);
    registry.open();
}
Also used : Mapper(com.cognifide.apm.api.actions.annotations.Mapper) AnnotatedClassRegistry(com.cognifide.apm.core.actions.scanner.AnnotatedClassRegistry) Activate(org.osgi.service.component.annotations.Activate)

Aggregations

Mapper (com.cognifide.apm.api.actions.annotations.Mapper)1 AnnotatedClassRegistry (com.cognifide.apm.core.actions.scanner.AnnotatedClassRegistry)1 Activate (org.osgi.service.component.annotations.Activate)1