org.springframework.jee.inject
Interface ComponentContributor

All Known Implementing Classes:
AnnotationComponentContributor, BeanDefinitionAnnotationComponentContributor, ChainedProcessorsComponentContributor, EjbAnnotationComponentContributor

public interface ComponentContributor

Interface to be implemented by objects that can contribute JEE metadata to an existing Spring context.

Author:
Rod Johnson

Method Summary
 void contribute(Enricher enricher)
          Contribute metadata.
 Jsr250Metadata newJsr250Metadata(java.lang.String componentName, java.lang.Class<?> componentClass, DeploymentUnitMetadata dum)
          Create a instance or subclass instance of Jsr250Metadata.
 

Method Detail

contribute

void contribute(Enricher enricher)
Contribute metadata.

Parameters:
enricher - object to use to attach or enrich metadata

newJsr250Metadata

Jsr250Metadata newJsr250Metadata(java.lang.String componentName,
                                 java.lang.Class<?> componentClass,
                                 DeploymentUnitMetadata dum)
Create a instance or subclass instance of Jsr250Metadata.

Parameters:
componentName - component name
componentClass - class of the component
dum - deployment unit metadata
Returns:
new instance of Jsr250Metadata or a subclass


Copyright 2006 Interface21. All Rights Reserved.