Internal configuration information for a managed bean (MBean) descriptor.
501502503504505506507508509510511
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); host.setRealm(realm); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("JDBCRealm"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), realm); return (oname.toString()); }
541542543544545546547548549550551
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); host.setRealm(realm); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("JNDIRealm"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), realm); return (oname.toString()); }
581582583584585586587588589590591
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); host.setRealm(realm); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("MemoryRealm"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), realm); return (oname.toString()); }
621622623624625626627628629630631
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); ((StandardHost)host).addValve(valve); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("RemoteAddrValve"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), valve); return (oname.toString()); }
661662663664665666667668669670671
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); ((StandardHost)host).addValve(valve); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("RemoteHostValve"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), valve); return (oname.toString()); }
701702703704705706707708709710711
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); ((StandardHost)host).addValve(valve); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("RequestDumperValve"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), valve); return (oname.toString()); }
741742743744745746747748749750751
Host host = (Host) engine.findChild(pname.getKeyProperty("host")); ((StandardHost)host).addValve(valve); } // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("SingleSignOn"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), valve); return (oname.toString()); }
781782783784785786787788789790791792
// Add context to the host host.addChild(context); // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("StandardContext"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), context); return (oname.toString()); }
815816817818819820821822823824825
Server server = ServerFactory.getServer(); Service service = server.findService(pname.getKeyProperty("name")); service.setContainer(engine); // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("StandardEngine"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), engine); return (oname.toString()); }
859860861862863864865866867868869
Service service = server.findService(pname.getKeyProperty("service")); Engine engine = (Engine) service.getContainer(); engine.addChild(host); // Return the corresponding MBean name ManagedBean managed = registry.findManagedBean("StandardHost"); ObjectName oname = MBeanUtils.createObjectName(managed.getDomain(), host); return (oname.toString()); }