org.openorb.orb.config
Class OpenORBConnector

java.lang.Object
  |
  +--org.openorb.orb.config.OpenORBConnector
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, ORBConnector

Deprecated. Because of doubts concerning the purpose of the ORBConnector interface in general and in order to simplify the kernel's architecture this class will be removed in future versions of OpenORB (see interface ORBConnector for explanation).

public class OpenORBConnector
extends java.lang.Object
implements ORBConnector

This class is the default OpenORB connector.

Version:
$Revision: 1.6 $ $Date: 2004/02/10 21:02:46 $
Author:
Jerome Daniel

Constructor Summary
OpenORBConnector()
          Deprecated.  
 
Method Summary
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
          Deprecated.  
 org.apache.avalon.framework.logger.Logger getLogger()
          Deprecated.  
 void load_kernel(ORB orb, ORBLoader loader)
          Deprecated. This operation is used to load the OpenORB kernel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenORBConnector

public OpenORBConnector()
Deprecated. 
Method Detail

getLogger

public org.apache.avalon.framework.logger.Logger getLogger()
Deprecated. 

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Deprecated. 
Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled

load_kernel

public void load_kernel(ORB orb,
                        ORBLoader loader)
Deprecated. 
This operation is used to load the OpenORB kernel.

Depending on the property openorb.server.enable ( default true ) and openorb.client.enable ( default true ) this method instantiates the ServerCPCManager and the ClientCPCMamager. This instantiation is pluggable as it is driven by properties:


The interface of the ServerCPCManager is defined by the org.openorb.orb.net.ServerManager interface and by the org.openorb.orb.net.ClientManager interface for the ClientCPCManager respectively.

The property openorb.dynany.enable (default true) allows to avoid loading the DynAnyFactory if it is not used by the application. This can save you some amount memory.

The property openorb.client.enable also decides whether to load the initiali references ORBPolicyManager and PolicyCurrent into the ORB.

Specified by:
load_kernel in interface ORBConnector