Guys,
What is the correct way to get a transaction set up for use against a
TreeCacheAop instance when in an MBean?
I have tried
1 mgr = DummyTransactionManager.getInstance();
2 ObjectName cacheService = new ObjectName("btgs.bgan:service=TreeCacheAop");
3 server = MBeanServerLocator.locate();
4 tree = (TreeCacheAopIfc)MBeanServerInvocationHandler.newProxyInstance(server,
cacheService,TreeCacheAopIfc.class,false);
this throws a NameAlreadyBoundException at 4 and the rollback doesn't seem to
work when I try and roll back after a field change of a serialised object
stored in the cache.
Do you still have to aspectize pojos if they are Serializable? Could this be
my problem?
I have seen the exampe BSHs, but I'm not sure that that is the answer.
Thanks,
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919244#3919244
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919244
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user