Class CORBAProvider

All Implemented Interfaces:
Serializable, Handler

public class CORBAProvider extends RPCProvider
A basic CORBA Provider
Author:
Davanum Srinivas (dims@yahoo.com)
See Also:
  • Field Details

  • Constructor Details

    • CORBAProvider

      public CORBAProvider()
  • Method Details

    • makeNewServiceObject

      protected Object makeNewServiceObject(MessageContext msgContext, String clsName) throws Exception
      Return a object which implements the service.
      Overrides:
      makeNewServiceObject in class JavaProvider
      Parameters:
      msgContext - the message context
      clsName - The JNDI name of the EJB home class
      Returns:
      an object that implements the service
      Throws:
      Exception
    • getServiceClassNameOptionName

      protected String getServiceClassNameOptionName()
      Return the option in the configuration that contains the service class name.
      Overrides:
      getServiceClassNameOptionName in class JavaProvider
    • getStrOption

      protected String getStrOption(String optionName, Handler service)
      Get a String option by looking first in the service options, and then at the Handler's options. This allows defaults to be specified at the provider level, and then overriden for particular services.
      Parameters:
      optionName - the option to retrieve
      Returns:
      String the value of the option or null if not found in either scope