use of org.glassfish.orb.admin.config.IiopService in project Payara by payara.
the class DeleteIiopListenerTest method setUp.
@Before
public void setUp() {
services = getHabitat();
iiopService = services.getService(IiopService.class);
parameters = new ParameterMap();
cr = services.getService(CommandRunner.class);
context = new AdminCommandContextImpl(LogDomains.getLogger(DeleteIiopListenerTest.class, LogDomains.ADMIN_LOGGER), new PropsFileActionReporter());
}
use of org.glassfish.orb.admin.config.IiopService in project Payara by payara.
the class ListIiopListenersTest method setUp.
@Before
public void setUp() {
services = getHabitat();
IiopService iiopService = services.getService(IiopService.class);
parameters = new ParameterMap();
cr = services.getService(CommandRunner.class);
context = new AdminCommandContextImpl(LogDomains.getLogger(ListIiopListenersTest.class, LogDomains.ADMIN_LOGGER), new PropsFileActionReporter());
List<IiopListener> listenerList = iiopService.getIiopListener();
origNum = listenerList.size();
}
use of org.glassfish.orb.admin.config.IiopService in project Payara by payara.
the class ORBConnectorStartup method initializeLazyListener.
/**
* Start Grizzly based ORB lazy listener, which is going to initialize
* ORB container on first request.
*/
private void initializeLazyListener() {
final IiopService iiopService = config.getExtensionByType(IiopService.class);
if (iiopService != null) {
List<IiopListener> iiopListenerList = iiopService.getIiopListener();
for (IiopListener oneListener : iiopListenerList) {
if (Boolean.valueOf(oneListener.getEnabled()) && Boolean.valueOf(oneListener.getLazyInit())) {
NetworkListener dummy = new DummyNetworkListener();
dummy.setPort(oneListener.getPort());
dummy.setAddress(oneListener.getAddress());
dummy.setProtocol("light-weight-listener");
dummy.setTransport("tcp");
dummy.setName("iiop-service");
grizzlyService.createNetworkProxy(dummy);
}
}
}
}
use of org.glassfish.orb.admin.config.IiopService in project Payara by payara.
the class JWSAdapterManager method postConstruct.
@Override
public synchronized void postConstruct() {
installRootURI = serverContext.getInstallRoot().toURI();
logger = Logger.getLogger(JavaWebStartInfo.APPCLIENT_SERVER_MAIN_LOGGER, JavaWebStartInfo.APPCLIENT_SERVER_LOGMESSAGE_RESOURCE);
iiopService = config.getExtensionByType(IiopService.class);
umbrellaRoot = new File(installRootURI).getParentFile();
umbrellaRootURI = umbrellaRoot.toURI();
systemLevelSignedJARsRoot = new File(serverEnv.getDomainRoot(), JWS_SIGNED_SYSTEM_JARS_ROOT);
domainLevelSignedJARsRoot = new File(serverEnv.getDomainRoot(), JWS_SIGNED_DOMAIN_JARS_ROOT);
}
Aggregations