I created ManagedObjectNameProperty which every time overrides the managed object's
name whenever a new value is set.
This hack eliminates the hack in ManagedConnectionFactoryParserDeployer. And would work
for JMS destinations if there was a way for a client to know the full path of the JMS
destination deployment they are creating. The problem is to get the deploy directory path.
I tried
InitialContext ctx = getInitialContext();
| ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
| return
ps.getActiveProfile().getRootFile(ManagedDeployment.DeploymentPhase.APPLICATION).getPathName();
But this is on the client side and Profile is not serializable.
I am committing the changes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127415#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...