[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: KernelDeployment from -beans.properties

alesj do-not-reply at jboss.com
Mon Nov 12 08:50:21 EST 2007


"adrian at jboss.org" wrote : Have a look at the log.properties format. This is a property file equivalent of xml
log4j.properties?

For simple javabeans props this is trvial/natural.
I was thinking more about class, constructor, lifecycle (create, start, stop, destroy), installs, callbacks, ...

Currently I do something like this:
mybean.(class)=org.jboss.acme.MyBean
mybean.(start)=someStartMethod
...

Everything after bean name that is not in brackets () is considered as a property. Which is what you will mostly want.

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

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



More information about the jboss-dev-forums mailing list