public class CorbaORBService extends Object implements org.jboss.msc.service.Service<ORB>
This class implements a Service
that creates and installs a CORBA ORB
.
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
CorbaORBService(Properties props)
Creates an instance of
CorbaORBService with the specified ORBImplementation and initializers. |
Modifier and Type | Method and Description |
---|---|
static ORB |
getCurrent() |
org.jboss.msc.value.InjectedValue<ExecutorService> |
getExecutorInjector()
Obtains a reference to the executor service injector.
|
org.jboss.msc.inject.Injector<org.jboss.as.network.SocketBinding> |
getIIOPSocketBindingInjector()
Obtains a reference to the IIOP socket binding injector.
|
org.jboss.msc.inject.Injector<org.jboss.as.network.SocketBinding> |
getIIOPSSLSocketBindingInjector()
Obtains a reference to the IIOP/SSL socket binding injector.
|
static String |
getORBProperty(String key)
Gets the value of the specified ORB property.
|
ORB |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public CorbaORBService(Properties props)
Creates an instance of CorbaORBService
with the specified ORBImplementation
and initializers.
props
- a Properties
instance containing the IIOP subsystem configuration properties.public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ORB>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<ORB>
public ORB getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<ORB>
IllegalStateException
IllegalArgumentException
public org.jboss.msc.inject.Injector<org.jboss.as.network.SocketBinding> getIIOPSocketBindingInjector()
Obtains a reference to the IIOP socket binding injector. This injector is used to inject a ServiceBinding
containing the IIOP socket properties.
Injector<SocketBinding>
used to inject the IIOP socket properties.public org.jboss.msc.inject.Injector<org.jboss.as.network.SocketBinding> getIIOPSSLSocketBindingInjector()
Obtains a reference to the IIOP/SSL socket binding injector. This injector is used to inject a
ServiceBinding
containing the IIOP/SSL socket properties.
Injector<SocketBinding>
used to inject the IIOP/SSL socket properties.public org.jboss.msc.value.InjectedValue<ExecutorService> getExecutorInjector()
Obtains a reference to the executor service injector. This injector is used to inject a
ExecutorService
for use in blocking tasks during startup or shutdown.
Injector<Executor>
used to inject the executor service.public static String getORBProperty(String key)
Gets the value of the specified ORB property. All ORB properties can be queried using this method. This includes the properties that have been explicitly set by this service prior to creating the ORB and all IIOP properties that have been specified in the IIOP subsystem configuration.
key
- the property key.null
if the property with the specified key hasn't been configured.public static ORB getCurrent()
Copyright © 2016 JBoss by Red Hat. All rights reserved.