org.springframework.jee.interfaces.inject
Interface EnricherI

All Known Implementing Classes:
Enricher

public interface EnricherI

Author:
Safin Li, Michael Chen

Method Summary
 void attach(Jsr250MetadataI jsr250)
          Attach the following metadata, that may relate to an existing Spring singleton or a new component
 void attach(Jsr250MetadataI jsr250, boolean isSingleton)
           
 DeploymentUnitMetadataI getDeploymentUnitMetadata()
           
 String[] getRegisteredBeanDefinitionNames()
           
 void setDeploymentUnitMetadata(DeploymentUnitMetadataI deploymentUnitMetadata)
          Optionally override the default DeploymentUnitMetadata, to customize JNDI lookup etc.
 

Method Detail

setDeploymentUnitMetadata

void setDeploymentUnitMetadata(DeploymentUnitMetadataI deploymentUnitMetadata)
Optionally override the default DeploymentUnitMetadata, to customize JNDI lookup etc.

Parameters:
deploymentUnitMetadata - new DefaultDeploymentUnitMetadata to use for components

getDeploymentUnitMetadata

DeploymentUnitMetadataI getDeploymentUnitMetadata()
Returns:
the deploymentUnitMetadata

attach

void attach(Jsr250MetadataI jsr250)
Attach the following metadata, that may relate to an existing Spring singleton or a new component

Parameters:
jsr250 - JEE metadata

attach

void attach(Jsr250MetadataI jsr250,
            boolean isSingleton)

getRegisteredBeanDefinitionNames

String[] getRegisteredBeanDefinitionNames()


Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.