All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.omg.CORBA.DynamicImplementation

java.lang.Object
    |
    +----org.omg.CORBA.portable.ObjectImpl
            |
            +----org.omg.CORBA.DynamicImplementation

public abstract class DynamicImplementation
extends ObjectImpl
See Also:
ServerRequest

Constructor Index

 o DynamicImplementation()
This constructor is used primarily by generated code.
 o DynamicImplementation(String, String)
This constructor assumes that the interface has no other derived interfaces.
 o DynamicImplementation(String, String[])
This constructor can be used in cases where the dynamic implementation is implementing mulitple interfaces.

Method Index

 o _ids()
Private implementation method.
 o _object_name()
Private implementation method.
 o invoke(ServerRequest)
Users implement this method to provide the functionality of the server.

Constructors

 o DynamicImplementation
public DynamicImplementation()
This constructor is used primarily by generated code. One of the other two constructors should be used normally. If this constructor is used, the user must implement the _ids() method to indicate the implementation's type.

 o DynamicImplementation
protected DynamicImplementation(String object_name,
                                String repository_id)
This constructor assumes that the interface has no other derived interfaces. If the interface has base interfaces, the other constructor should be used.

Parameters:
object_name - The name of the instance. If null the instance is transient (anonymous).
repository_id - The repository identifier for the interface.
 o DynamicImplementation
protected DynamicImplementation(String object_name,
                                String[] repository_ids)
This constructor can be used in cases where the dynamic implementation is implementing mulitple interfaces.

Parameters:
object_name - The name of the instance. If null the instance is transient (anonymous).
repository_ids - An array of repository identifiers, one for each interface. The most derived interface should be element zero in the array.

Methods

 o invoke
public abstract void invoke(ServerRequest request)
Users implement this method to provide the functionality of the server.

Parameters:
request - A description of the request which the server is to perform.
 o _object_name
public String _object_name()
Private implementation method.

Overrides:
_object_name in class ObjectImpl
 o _ids
public String[] _ids()
Private implementation method.

Overrides:
_ids in class ObjectImpl

All Packages  Class Hierarchy  This Package  Previous  Next  Index