[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-801) No way to provide external configuration for @Service beans

james ahlborn (JIRA) jira-events at jboss.com
Mon Dec 4 09:43:55 EST 2006


No way to provide external configuration for @Service beans
-----------------------------------------------------------

                 Key: EJBTHREE-801
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-801
             Project: EJB 3.0
          Issue Type: Feature Request
          Components: EJB3 Extensions
    Affects Versions: EJB 3.0 RC9 - FD
            Reporter: james ahlborn


The @Service bean is a great extension.  However, it does not seem to provide any functionality for external configuration.  Jboss mbeans can be configured in service.xml files using attribute elements.  EJB3 stateless session beans can be configured using env-entry elements in the ejb-jar.xml.  The @Service bean is a hybrid of these two components, but has no facility for external configuration.  The jboss.xml file has elements for service bean instantiation, but provides no env-entry nor attribute style elements for configuring said bean.

I've attempted to use a stateless entry in the ejb-jar.xml referencing the @Service bean with env-entry elements.  This does not cause any errors on deployment, but it also does not do anything.

-- 
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