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.inject.Injector<SocketBinding> |
getJacORBSocketBindingInjector()
Obtains a reference to the JacORB IIOP socket binding injector.
|
org.jboss.msc.inject.Injector<SocketBinding> |
getJacORBSSLSocketBindingInjector()
Obtains a reference to the JacORB 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 JacORB 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<SocketBinding> getJacORBSocketBindingInjector()
Obtains a reference to the JacORB IIOP socket binding injector. This injector is used to inject a ServiceBinding
containing the IIOP socket properties.
Injector<SocketBinding>
used to inject the JacORB IIOP socket properties.public org.jboss.msc.inject.Injector<SocketBinding> getJacORBSSLSocketBindingInjector()
Obtains a reference to the JacORB 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 JacORB IIOP/SSL socket properties.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 JacORB properties that have been specified in the JacORB subsystem configuration.
key
- the property key.null
if the property with the specified key hasn't been configured.public static ORB getCurrent()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.