[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-05 Thread vickyk
Found the problem , it was in the AspectManager . When I included org.jboss.mc in org.jboss.test, org.jboss.injbossaop, org.jboss.cache.jmx, org.jboss.cache.pojo.jmx, org.jboss.ha, org.jboss.invocation , org.jboss.mc it worked .. View the original post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-04 Thread alesj
No, you need this piece of xml code to integrate aop aspects with pojo instantiation - order matters (add dependency if needed). This is a small example I've done for Seam, and it works. |!-- Seam + MC AOP -- | |bean name=SeamAspectManager class=org.jboss.aop.AspectManager |

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-03 Thread alesj
Your xml is commented - with !--. Turn on debuging / trace log for more info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024830#4024830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024830

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-03 Thread vickyk
I don't think comments in xml will cause any problem , the pojo-beans.xml contains only one bean . Turn on debuging / trace log for more info. Yes this is the last option left now :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024832#4024832 Reply to the

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-02 Thread vickyk
Ales , Can you too test this 1) I have POJO public class SimplePojo implements SimplePojoMBean | { | public void display(){ | System.out.println(Hello ); | } | } | 2) POJO MBean Interface as public interface SimplePojoMBean | { | public void display();

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread alesj
Or you can always add a MBean Exporter kind of bean. Inject MBean server bean into it and all the beans that you want to export (along with ObjectName and exposed interface info). There is no 'exporter' impl within MC, but you can probably use this one (with slight modifications)

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread eknathkadam
alesj wrote : Can you look if KernelControllerContextAware interface is present with v1.0? Yes, it is present with v1.0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023560#4023560 Reply to the post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread alesj
Ok, I had some idea, but it is far uglier than the one with exporter. Never mind about KCCA in v1.0. Try with exporter. Or what's the problem updating MC to v2.0(beta)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023564#4023564 Reply to the post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread eknathkadam
Thanks for the response. Eventually we would start using v2.0, but that also means Jboss5, for which we will have to wait for sometime untill GA is out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023624#4023624 Reply to the post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread alesj
JBoss5_Beta2 is about to be released. MC features are quite polished there. Or maybe you can port MC v2.0 to replace v1.0 in JBoss4. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023628#4023628 Reply to the post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread vickyk
alesj wrote : vickyk wrote : | | All we need to do is to have the above code formed through the xml file when using the MC . Am I right ? | | | Yes, see how this is done in JMXDecoratedTestCase.(java|xml). | And this can be simplified now - less aop xml code. After looking into the

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread eknathkadam
bkeh12 wrote : 6. JMX interface for deployed components if desired | http://jira.jboss.com/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolutionIds=-1pid=12310060fixfor=12310587 | I clicked this link but found nothing, any update on point 6 ?

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
eknathkadam wrote : bkeh12 wrote : 6. JMX interface for deployed components if desired | | http://jira.jboss.com/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolutionIds=-1pid=12310060fixfor=12310587 | | | I clicked this link but found

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread vickyk
org.jboss.aop.advice.AdviceBinding binding = new AdviceBinding(execution(POJO-new(..)), null); | binding.addInterceptor(SimpleInterceptor.class); | AspectManager.instance().addBinding(binding); All we need to do is to have the above code formed through the xml file when using the

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
vickyk wrote : | All we need to do is to have the above code formed through the xml file when using the MC . Am I right ? | Yes, see how this is done in JMXDecoratedTestCase.(java|xml). And this can be simplified now - less aop xml code. View the original post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
alesj wrote : And this can be simplified now - less aop xml code. See JMXLifecycleTestCase.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022982#4022982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022982

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread eknathkadam
I believe all this JMX support is for microcontainer that is supplied with Jboss5, I think the MC release is 2.0, is there any JMX support in prior release, the one supplied with Jboss 4.x (release 1.0, I guss.) ? View the original post :

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
Can you look if KernelControllerContextAware interface is present with v1.0? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023514#4023514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023514