This content has been marked as final.
Show 7 replies
-
1. Re: KernelDeployment from -beans.properties
adrian.brock Nov 12, 2007 8:38 AM (in response to alesj)"alesj" wrote:
I've created this JIRA issue:
- http://jira.jboss.com/jira/browse/JBMICROCONT-217
And I've already commited some initial code - in order to not loose it while I'm doing other things. :-)
The idea that I had is to crawl up and down the tree and along the way create appropriate metadata - see current implementation.
What kind of semantics should we use to define bean metadata?
Any special request or directions regarding analogy with XML?
Have a look at the log.properties format. This is a property file equivalent of xml -
2. Re: KernelDeployment from -beans.properties
alesj Nov 12, 2007 8:50 AM (in response to alesj)"adrian@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. -
3. Re: KernelDeployment from -beans.properties
dimitris Nov 15, 2007 6:56 AM (in response to alesj)Have you partially committed the code?
[INFO] [compiler:compile] [INFO] Compiling 1 source file to X:\cvs\jboss-public\projects\microcontainer\deployers-vfs\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure X:\cvs\jboss-public\projects\microcontainer\deployers-vfs\src\main\org\jboss\dep loyers\vfs\deployer\kernel\Properties2BeansDeployer.java:[31,49] package org.jbo ss.kernel.plugins.deployment.props does not exist
-
4. Re: KernelDeployment from -beans.properties
alesj Nov 15, 2007 7:55 AM (in response to alesj)Nope.
This is here:
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/deployment/props/
+ I did a build over my TeamCity server (as such being independent of my machine), which runs w/o problems. -
5. Re: KernelDeployment from -beans.properties
dimitris Nov 15, 2007 9:16 AM (in response to alesj)I needed to rebuild from the root directory first and it works now. Sorry.
-
6. Re: KernelDeployment from -beans.properties
adrian.brock Mar 17, 2008 3:43 PM (in response to alesj)Can we close this JIRA issue?
-
7. Re: KernelDeployment from -beans.properties
alesj Mar 17, 2008 4:14 PM (in response to alesj)"adrian@jboss.org" wrote:
Can we close this JIRA issue?
It's not done yet - it only handles basic IoC features.
I'll move the issue to after 2.0.0.GA, since it's not a must.
It's more a 'beginner' feature I'm trying to 'sell'. :-)
-
http://2249.atlassian.com/display/HACK/JBossMicrocontainer+hacks