[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-985) env-entry-value is optional (16.4.1.3 last paragraph)
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 12:00:58 EDT 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-985?page=all ]
Carlo de Wolf updated EJBTHREE-985:
-----------------------------------
Description:
In contrary to the specification in AS 4.2 a Bean Developer must provide a String value for an env-entry-value.
So the following deployment descriptor will not work:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="3.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
<enterprise-beans>
<session>
<ejb-name>OptionalEnvEntryBean</ejb-name>
<env-entry>
<description>default env-entry</description>
<env-entry-name>entry</env-entry-name>
<env-entry-type>java.lang.Double</env-entry-type>
<injection-target>
<injection-target-class>org.jboss.ejb3.test.ejbthree985.OptionalEnvEntryBean</injection-target-class>
<injection-target-name>entry</injection-target-name>
</injection-target>
</env-entry>
</session>
</enterprise-beans>
</ejb-jar>
> env-entry-value is optional (16.4.1.3 last paragraph)
> -----------------------------------------------------
>
> Key: EJBTHREE-985
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-985
> Project: EJB 3.0
> Issue Type: Bug
> Reporter: Carlo de Wolf
> Assigned To: Carlo de Wolf
> Fix For: EJB 3.0 RC11 - FD
>
>
> In contrary to the specification in AS 4.2 a Bean Developer must provide a String value for an env-entry-value.
> So the following deployment descriptor will not work:
> <?xml version="1.0" encoding="UTF-8"?>
> <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> version="3.0"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
> <enterprise-beans>
> <session>
> <ejb-name>OptionalEnvEntryBean</ejb-name>
> <env-entry>
> <description>default env-entry</description>
> <env-entry-name>entry</env-entry-name>
> <env-entry-type>java.lang.Double</env-entry-type>
> <injection-target>
> <injection-target-class>org.jboss.ejb3.test.ejbthree985.OptionalEnvEntryBean</injection-target-class>
> <injection-target-name>entry</injection-target-name>
> </injection-target>
> </env-entry>
> </session>
> </enterprise-beans>
> </ejb-jar>
--
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