Novell exteNd Messaging Platform 5.1

com.sssw.jbroker.api.orb
Class ORB

java.lang.Object
  extended byorg.omg.CORBA.ORB
      extended byorg.omg.CORBA_2_3.ORB
          extended bycom.sssw.jbroker.api.orb.ORB

public abstract class ORB
extends ORB

jBroker ORB.


Field Summary
static int JBROKER_VMCID
          jBroker Minor Code Id.
 
Constructor Summary
ORB()
           
 
Method Summary
abstract  CustomPolicyController getCustomPolicyController()
          Get the custom policy controller.
static ORB getORB(String orbId)
          Get the ORB with a given Id.
 String getORBId()
          Get the Id for the given ORB instance.
abstract  void setCustomPolicyController(CustomPolicyController controller)
          Set the custom policy controller for the current thread.
abstract  void setORBCustomPolicyController(CustomPolicyController controller)
          Set the ORB level custom policy controller callback object.
 
Methods inherited from class org.omg.CORBA_2_3.ORB
get_value_def, lookup_value_factory, register_value_factory, set_delegate, unregister_value_factory
 
Methods inherited from class org.omg.CORBA.ORB
connect, create_abstract_interface_tc, create_alias_tc, create_any, create_array_tc, create_basic_dyn_any, create_context_list, create_dyn_any, create_dyn_array, create_dyn_enum, create_dyn_sequence, create_dyn_struct, create_dyn_union, create_enum_tc, create_environment, create_exception_list, create_exception_tc, create_fixed_tc, create_interface_tc, create_list, create_named_value, create_native_tc, create_operation_list, create_output_stream, create_policy, create_recursive_sequence_tc, create_recursive_tc, create_sequence_tc, create_string_tc, create_struct_tc, create_union_tc, create_value_box_tc, create_value_tc, create_wstring_tc, destroy, disconnect, get_current, get_default_context, get_next_response, get_primitive_tc, get_service_information, init, init, init, list_initial_services, object_to_string, perform_work, poll_next_response, resolve_initial_references, run, send_multiple_requests_deferred, send_multiple_requests_oneway, shutdown, string_to_object, work_pending
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JBROKER_VMCID

public static final int JBROKER_VMCID
jBroker Minor Code Id.

See Also:
Constant Field Values
Constructor Detail

ORB

public ORB()
Method Detail

getCustomPolicyController

public abstract CustomPolicyController getCustomPolicyController()
Get the custom policy controller. If a controller is set per-thread, the thread level controller will be returned, otherwise the ORB level controller will be returned.

Returns:
the customer cluster policy controller callback object, or null if none set

setCustomPolicyController

public abstract void setCustomPolicyController(CustomPolicyController controller)
Set the custom policy controller for the current thread. This controller will be consulted when the following conditions are met: If no custom policy controller callback is set, the ORB use the object level custom policy controller callback object.

Parameters:
controller - the thread level custom policy controller callback object
See Also:
setORBCustomPolicyController(com.sssw.jbroker.api.cluster.CustomPolicyController)

setORBCustomPolicyController

public abstract void setORBCustomPolicyController(CustomPolicyController controller)
Set the ORB level custom policy controller callback object. This controller will be consulted when the following conditions are met: If no custom policy controller callback is set, the ORB will downgrade the cluster scheme to round robin.


getORBId

public String getORBId()
Get the Id for the given ORB instance.


getORB

public static ORB getORB(String orbId)
Get the ORB with a given Id.


Novell exteNd Messaging Platform 5.1

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.