org.openorb.orb.core
Class LoggableLocalObject

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.openorb.orb.core.LoggableLocalObject
All Implemented Interfaces:
org.omg.CORBA.Object
Direct Known Subclasses:
OpenORBInitInfo, RMIInitializer

public class LoggableLocalObject
extends org.omg.CORBA.LocalObject

Utility class extending LocalObject with support for logging operations.


Constructor Summary
LoggableLocalObject()
           
 
Method Summary
 void enableLogging(Logger logger)
          Supply a logging channel to the instance.
protected  Logger getLogger()
          Return the logging channel used by the instance.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggableLocalObject

public LoggableLocalObject()
Method Detail

enableLogging

public void enableLogging(Logger logger)
Supply a logging channel to the instance.


getLogger

protected Logger getLogger()
Return the logging channel used by the instance.

Returns:
the Logger
Throws:
java.lang.IllegalStateException - if the logging channel has not been set