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;
}
Aggregations