All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class com.inprise.vbroker.CORBA.ORB

java.lang.Object
    |
    +----org.omg.CORBA.ORB
            |
            +----com.inprise.vbroker.CORBA.ORB

public abstract class ORB
extends ORB

Constructor Index

 o ORB()

Method Index

 o bind(String, String, String, BindOptions)
Locate an object given the specified bind parameters.
 o BOA_init()
Initilialize the BOA singleton.
 o BOA_init(String, Properties)
Initialize a particular type of BOA with optional properties.
 o default_bind_options()
Returns the default (global) bind options.
 o default_bind_options(BindOptions)
Sets the default (global) bind options.
 o default_principal()
Returns the default (global) principal.
 o default_principal(Principal)
Sets the default (global) principal.
 o shutdown()
Shutdown the ORB and destroy all internal ORB resources including all ORB created threads.

Constructors

 o ORB
public ORB()

Methods

 o bind
public abstract Object bind(String repository_id,
                            String object_name,
                            String host_name,
                            BindOptions bind_options)
Locate an object given the specified bind parameters.

Parameters:
repository_id - The repository identifier (type id) of the object to locate.
object_name - The name of the object to locate, or null for any object.
host_name - The host name or IP address of the machine where the object is located, or null for any machine.
bind_options - The bind for the located object, or null to pick up the defaults.
Returns:
An object reference which can be narrowed to the requested type.
Throws: NO_IMPLEMENT
If an object could not be located.
Overrides:
bind in class ORB
 o default_principal
public abstract Principal default_principal()
Returns the default (global) principal.

Returns:
a principal if one has been set, null otherwise. Note that the bind options are stored by reference, so care must be taken in modifying the value.
Overrides:
default_principal in class ORB
See Also:
_principal
 o default_principal
public abstract void default_principal(Principal principal)
Sets the default (global) principal.

Parameters:
principal - The new principal. Note that the bind options are stored by reference, so care must be taken in modifying the value.
Overrides:
default_principal in class ORB
See Also:
_principal
 o default_bind_options
public abstract BindOptions default_bind_options()
Returns the default (global) bind options.

Returns:
the bind options, if they have been set, null otherwise. Note that the bind options are stored by reference, so care must be taken in modifying the value.
Overrides:
default_bind_options in class ORB
 o default_bind_options
public abstract void default_bind_options(BindOptions options)
Sets the default (global) bind options.

Parameters:
options - The new bind options. Note that the bind options are stored by reference, so care must be taken in modifying the value.
Overrides:
default_bind_options in class ORB
 o BOA_init
public abstract BOA BOA_init()
Initilialize the BOA singleton. As with the init method, this method can be called repeated, and can be used to obtain the BOA singleton at any time.

Returns:
The BOA singleton.
Overrides:
BOA_init in class ORB
 o BOA_init
public abstract BOA BOA_init(String boaType,
                             Properties properties)
Initialize a particular type of BOA with optional properties.

Parameters:
boaType - A string identifying the type of BOA to be created.
properties - Properties to be passed to the BOA when it is created.
Returns:
The adapter corresponding to boaType.
Overrides:
BOA_init in class ORB
 o shutdown
public abstract void shutdown()
Shutdown the ORB and destroy all internal ORB resources including all ORB created threads. This method must be called before the ORB can be garbage collected.

Overrides:
shutdown in class ORB

All Packages  Class Hierarchy  This Package  Previous  Next  Index