Search in sources :

Example 1 with MetadataDependency

use of org.springframework.roo.metadata.MetadataDependency in project spring-roo by spring-projects.

the class JspMetadataListener method activate.

/**
 * This service is being activated so setup it:
 * <ul>
 * <li>Create and open the {@link MetadataDependencyRegistryTracker}.</li>
 * </ul>
 */
protected void activate(final ComponentContext cContext) {
    this.context = cContext.getBundleContext();
    this.registryTracker = new MetadataDependencyRegistryTracker(context, this, new MetadataDependency(WebScaffoldMetadata.getMetadataIdentiferType(), getProvidesType()), new MetadataDependency(WebFinderMetadata.getMetadataIdentiferType(), getProvidesType()));
    this.registryTracker.open();
}
Also used : MetadataDependencyRegistryTracker(org.springframework.roo.metadata.internal.MetadataDependencyRegistryTracker) MetadataDependency(org.springframework.roo.metadata.MetadataDependency)

Aggregations

MetadataDependency (org.springframework.roo.metadata.MetadataDependency)1 MetadataDependencyRegistryTracker (org.springframework.roo.metadata.internal.MetadataDependencyRegistryTracker)1