Examples of ClassLoaderDomain


Examples of org.jboss.classloader.spi.ClassLoaderDomain

     
      Set<String> domainNames = (Set) server.getAttribute(CLASSLOADER_SYSTEM_OBJECT_NAME, "DomainNames");
      Set<String> expected = makeSet(ClassLoaderSystem.DEFAULT_DOMAIN_NAME);
      assertEquals(expected, domainNames);

      ClassLoaderDomain defaultDomain = system.getDefaultDomain();
      ObjectName defaultDomainObjectName = defaultDomain.getObjectName();
      Set<ObjectName> domains = (Set) server.getAttribute(CLASSLOADER_SYSTEM_OBJECT_NAME, "Domains");
      Set<ObjectName> expectedObjectNames = makeSet(defaultDomainObjectName);
      assertEquals(expectedObjectNames, domains);
     
      String domainName = (String) server.getAttribute(defaultDomainObjectName, "Name");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.