[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-1392) Move injection handlers to Ejb3Deployment
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Tue Jun 3 22:49:20 EDT 2008
[ http://jira.jboss.com/jira/browse/EJBTHREE-1392?page=all ]
Scott M Stark resolved EJBTHREE-1392.
-------------------------------------
Resolution: Done
Ejb3Deployment now has:
/**
* Return the container injection handler collection. If not specified(null)
* a default handler collection will be created.
* @return the injection handler collection to use, null if the container
* should use a default setup.
*/
protected Collection<InjectionHandler<Environment>> getHandlers()
{
return null;
}
and the EJBContainer.processMetadata code initializes the old collection if the deployment getHandlers returns null.
> Move injection handlers to Ejb3Deployment
> -----------------------------------------
>
> Key: EJBTHREE-1392
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-1392
> Project: EJB 3.0
> Issue Type: Feature Request
> Components: injection
> Affects Versions: AS 5.0.0.Beta4
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: AS 5.0.0.CR1
>
>
> I want to move the EJBContainer.processMetadata InjectionHandler setup:
> public void processMetadata()
> {
> // XML must be done first so that any annotation overrides are initialized
>
> // todo injection handlers should be pluggable from XML
> Collection<InjectionHandler<Environment>> handlers = new ArrayList<InjectionHandler<Environment>>();
> handlers.add(new EJBHandler<Environment>());
> handlers.add(new DependsHandler<Environment>());
> handlers.add(new JndiInjectHandler<Environment>());
> handlers.add(new PersistenceContextHandler<Environment>());
> handlers.add(new PersistenceUnitHandler<Environment>());
> handlers.add(new ResourceHandler<Environment>());
> handlers.add(new WebServiceRefHandler<Environment>());
> to the input Ejb3Deployment so that these can be overridden from the deployment environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list