Search in sources :

Example 1 with OfflineConfigIniter

use of com.sun.appserv.management.config.OfflineConfigIniter in project Payara by payara.

the class TestMain method initOffline.

private static DomainRoot initOffline(final File domainXML) {
    final MBeanServer server = MBeanServerFactory.createMBeanServer("test");
    assert (domainXML.exists() && domainXML.length() != 0);
    final OfflineConfigIniter initer = new OfflineConfigIniter(server, domainXML);
    final DomainRoot domainRoot = initer.getDomainRoot();
    return domainRoot;
}
Also used : OfflineConfigIniter(com.sun.appserv.management.config.OfflineConfigIniter) DomainRoot(com.sun.appserv.management.DomainRoot) MBeanServer(javax.management.MBeanServer)

Aggregations

DomainRoot (com.sun.appserv.management.DomainRoot)1 OfflineConfigIniter (com.sun.appserv.management.config.OfflineConfigIniter)1 MBeanServer (javax.management.MBeanServer)1