[jboss-dev-forums] [Design of POJO Server] - Re: property values in ManagementViewImpl.applyTemplate
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Thu Feb 7 09:47:18 EST 2008
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#4127415
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127415
More information about the jboss-dev-forums
mailing list