"Gunark" wrote : Okay so looks like something like this works:
  | 
  | <jndi:binding name="config/CASConfig">
  |   |                                 <jndi:value 
editor="org.jboss.util.propertyeditor.PropertiesEditor">
  |   |                   casLogin=https://localhost:8443/cas/login
  |   |                   casValidate=https://localhost:8443/cas/proxyValidate
  |   |                   casServerName=localhost:8080
  |   |                                 </jndi:value>
  |   |                         </jndi:binding>
  | 
  | But I guess what I really want is a way to bind an object factory to a 
jndiName, so that looking up "something/MyObject" will call an object factory 
method and return an instance of MyObject... I'm not sure if 
JNDIBindingServiceMgr is really the right way to go about this. I suppose I 
would have to write my own custom propertyeditor to behave like a factory class?

You can use any mechanism JBossXB supports. A propertyeditor is one way, a 
custom schema with annotations is another.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossXB

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to