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
-
DynamicImplementation()
- This constructor is used primarily by generated code.
-
DynamicImplementation(String, String)
- This constructor assumes that the interface has no other
derived interfaces.
-
DynamicImplementation(String, String[])
- This constructor can be used in cases where the dynamic
implementation is implementing mulitple interfaces.
-
_ids()
- Private implementation method.
-
_object_name()
- Private implementation method.
-
invoke(ServerRequest)
- Users implement this method to provide the functionality of the
server.
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.
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.
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.
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.
_object_name
public String _object_name()
- Private implementation method.
- Overrides:
- _object_name in class ObjectImpl
_ids
public String[] _ids()
- Private implementation method.
- Overrides:
- _ids in class ObjectImpl
All Packages Class Hierarchy This Package Previous Next Index