[jboss-dev-forums] [Design of POJO Server] - Handling Non Container References in java:comp/env

anil.saldhana@jboss.com do-not-reply at jboss.com
Wed May 28 14:51:51 EDT 2008


The web.xml can define 

  | <!-- ### Environment (java:comp/env/) -->
  |    <env-entry>
  |       <description>Integer0</description>
  |       <env-entry-name>Ints/i0</env-entry-name>
  |       <env-entry-type>java.lang.Integer</env-entry-type>
  |       <env-entry-value>0</env-entry-value>
  |    </env-entry>
  |    <env-entry>
  |       <description>Integer1</description>
  |       <env-entry-name>Ints/i1</env-entry-name>
  |       <env-entry-type>java.lang.Integer</env-entry-type>
  |       <env-entry-value>1</env-entry-value>
  |    </env-entry>
  |    <env-entry>
  |       <description>Float0</description>
  |       <env-entry-name>Floats/f0</env-entry-name>
  |       <env-entry-type>java.lang.Float</env-entry-type>
  |       <env-entry-value>0.0</env-entry-value>
  |    </env-entry>
  | 

This is a ToDo in the MappedReferenceMetaDataResolverDeployer.   This was previously handled in JBoss 4.2 with the bindEnvEntry method
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/server/src/main/org/jboss/metadata/EnvEntryMetaData.java

I am going to make an attempt at solving this.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154064#4154064

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154064



More information about the jboss-dev-forums mailing list