Server server = (Server) changedInstance;
String serverName = server.getName();
MetadataImpl meta = new MetadataImpl();
meta.setCorrespondingConfig(ConfigBeanRegistry.getInstance().getObjectNameForProxy(server));
final DASJ2EEServerImpl impl = new DASJ2EEServerImpl(getJ2EEDomain(), meta);
ObjectName serverObjectName = new ObjectNameBuilder(mMBeanServer, getJ2EEDomain()).buildChildObjectName(J2EETypes.J2EE_SERVER, serverName);
try {
mMBeanServer.registerMBean(impl, serverObjectName).getObjectName();
}
catch (JMException e) {