org.jboss.iiop
Class CorbaORBService

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.iiop.CorbaORBService
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ObjectFactory, CorbaORBServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class CorbaORBService
extends org.jboss.system.ServiceMBeanSupport
implements CorbaORBServiceMBean, ObjectFactory

This is a JMX service that provides the default CORBA ORB for JBoss to use.

Version:
$Revision: 1.38.2.4 $
Author:
Ole Husgaard, Francisco Reverbel

Field Summary
static String IR_POA_NAME
           
static String ORB_NAME
           
static String POA_NAME
           
static String SSL_DOMAIN
           
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
CorbaORBService()
           
 
Method Summary
 javax.ejb.spi.HandleDelegate getHandleDelegate()
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 ORB getORB()
           
 String getORBClass()
           
 String getORBPropertiesFileName()
           
 String getORBSingletonClass()
           
 String getORBSingletonDelegate()
           
 int getPort()
           
 Element getPortableInterceptorInitializers()
           
 String getSecurityDomain()
           
 boolean getSendSASAcceptWithExceptionEnabled()
           
static boolean getSendSASAcceptWithExceptionEnabledFlag()
          Returns true if sending an SAS accept reply together with an IIOP exception reply is enabled.
 boolean getSSLComponentsEnabled()
           
static boolean getSSLComponentsEnabledFlag()
          Returns true if addition of SSL components to IORs is enabled.
 int getSSLPort()
           
 boolean getSunJDK14IsLocalBugFix()
           
static int getTheActualSSLPort()
          Returns the actual SSL port.
 void setORBClass(String orbClass)
           
 void setORBPropertiesFileName(String orbPropertiesFileName)
           
 void setORBSingletonClass(String orbSingletonClass)
           
 void setORBSingletonDelegate(String orbSingletonDelegate)
           
 void setPort(int port)
           
 void setPortableInterceptorInitializers(Element portableInterceptorInitializers)
           
 void setSecurityDomain(String sslDomain)
           
 void setSendSASAcceptWithExceptionEnabled(boolean value)
           
 void setSSLComponentsEnabled(boolean sslComponentsEnabled)
           
 void setSSLPort(int sslPort)
           
 void setSunJDK14IsLocalBugFix(boolean sunJDK14IsLocalBugFix)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

ORB_NAME

public static String ORB_NAME

POA_NAME

public static String POA_NAME

IR_POA_NAME

public static String IR_POA_NAME

SSL_DOMAIN

public static String SSL_DOMAIN
Constructor Detail

CorbaORBService

public CorbaORBService()
Method Detail

getTheActualSSLPort

public static int getTheActualSSLPort()
Returns the actual SSL port. This method is intended to be called by the CSIv2 IOR interceptor, which needs to know the SSL port.


getSSLComponentsEnabledFlag

public static boolean getSSLComponentsEnabledFlag()
Returns true if addition of SSL components to IORs is enabled. This method is intended to be called by the CSIv2 IOR interceptor.


getSendSASAcceptWithExceptionEnabledFlag

public static boolean getSendSASAcceptWithExceptionEnabledFlag()
Returns true if sending an SAS accept reply together with an IIOP exception reply is enabled. This method is intended to be called by the CSIv2 server request interceptor.


startService

protected void startService()
                     throws Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

getORB

public ORB getORB()
Specified by:
getORB in interface CorbaORBServiceMBean

getHandleDelegate

public javax.ejb.spi.HandleDelegate getHandleDelegate()
Specified by:
getHandleDelegate in interface CorbaORBServiceMBean

getORBClass

public String getORBClass()
Specified by:
getORBClass in interface CorbaORBServiceMBean

setORBClass

public void setORBClass(String orbClass)
Specified by:
setORBClass in interface CorbaORBServiceMBean

getORBSingletonClass

public String getORBSingletonClass()
Specified by:
getORBSingletonClass in interface CorbaORBServiceMBean

setORBSingletonClass

public void setORBSingletonClass(String orbSingletonClass)
Specified by:
setORBSingletonClass in interface CorbaORBServiceMBean

getORBSingletonDelegate

public String getORBSingletonDelegate()
Specified by:
getORBSingletonDelegate in interface CorbaORBServiceMBean

setORBSingletonDelegate

public void setORBSingletonDelegate(String orbSingletonDelegate)
Specified by:
setORBSingletonDelegate in interface CorbaORBServiceMBean

setORBPropertiesFileName

public void setORBPropertiesFileName(String orbPropertiesFileName)
Specified by:
setORBPropertiesFileName in interface CorbaORBServiceMBean

getORBPropertiesFileName

public String getORBPropertiesFileName()
Specified by:
getORBPropertiesFileName in interface CorbaORBServiceMBean

getPortableInterceptorInitializers

public Element getPortableInterceptorInitializers()
Specified by:
getPortableInterceptorInitializers in interface CorbaORBServiceMBean

setPortableInterceptorInitializers

public void setPortableInterceptorInitializers(Element portableInterceptorInitializers)
Specified by:
setPortableInterceptorInitializers in interface CorbaORBServiceMBean

setPort

public void setPort(int port)
Specified by:
setPort in interface CorbaORBServiceMBean

getPort

public int getPort()
Specified by:
getPort in interface CorbaORBServiceMBean

setSSLPort

public void setSSLPort(int sslPort)
Specified by:
setSSLPort in interface CorbaORBServiceMBean

getSSLPort

public int getSSLPort()
Specified by:
getSSLPort in interface CorbaORBServiceMBean

setSecurityDomain

public void setSecurityDomain(String sslDomain)
Specified by:
setSecurityDomain in interface CorbaORBServiceMBean

getSecurityDomain

public String getSecurityDomain()
Specified by:
getSecurityDomain in interface CorbaORBServiceMBean

getSSLComponentsEnabled

public boolean getSSLComponentsEnabled()
Specified by:
getSSLComponentsEnabled in interface CorbaORBServiceMBean

setSSLComponentsEnabled

public void setSSLComponentsEnabled(boolean sslComponentsEnabled)
Specified by:
setSSLComponentsEnabled in interface CorbaORBServiceMBean

getSendSASAcceptWithExceptionEnabled

public boolean getSendSASAcceptWithExceptionEnabled()
Specified by:
getSendSASAcceptWithExceptionEnabled in interface CorbaORBServiceMBean

setSendSASAcceptWithExceptionEnabled

public void setSendSASAcceptWithExceptionEnabled(boolean value)
Specified by:
setSendSASAcceptWithExceptionEnabled in interface CorbaORBServiceMBean

getSunJDK14IsLocalBugFix

public boolean getSunJDK14IsLocalBugFix()
Specified by:
getSunJDK14IsLocalBugFix in interface CorbaORBServiceMBean

setSunJDK14IsLocalBugFix

public void setSunJDK14IsLocalBugFix(boolean sunJDK14IsLocalBugFix)
Specified by:
setSunJDK14IsLocalBugFix in interface CorbaORBServiceMBean

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.