org.omg.CORBA
Class WstringDefPOATie
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.CORBA.WstringDefPOA
|
+--org.omg.CORBA.WstringDefPOATie
- All Implemented Interfaces:
- IDLTypeOperations, InvokeHandler, IRObjectOperations, WstringDefOperations
- public class WstringDefPOATie
- extends WstringDefPOA
A WstringDef represents an IDL wide string. The unbounded wide
string type is represented as a PrimitiveDef. As wide string
types are anonymous, this interface is not derived from
TypedefDef or Contained.
Method Summary |
POA |
_default_POA()
|
WstringDefOperations |
_delegate()
|
void |
_delegate(WstringDefOperations delegate_)
|
int |
bound()
The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero. |
void |
bound(int value)
The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero. |
DefinitionKind |
def_kind()
The def_kind type_name attribute identifies the type of the definition. |
void |
destroy()
The destroy operation causes the object to cease to exist. |
TypeCode |
type()
The type attribute describes the type defined by an object
derived from IDLType. |
Methods inherited from class org.omg.PortableServer.Servant |
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WstringDefPOATie
public WstringDefPOATie(WstringDefOperations tieObject)
WstringDefPOATie
public WstringDefPOATie(WstringDefOperations tieObject,
POA poa)
_delegate
public WstringDefOperations _delegate()
_delegate
public void _delegate(WstringDefOperations delegate_)
_default_POA
public POA _default_POA()
- Overrides:
_default_POA
in class Servant
bound
public int bound()
- Description copied from interface:
WstringDefOperations
- The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero.
bound
public void bound(int value)
- Description copied from interface:
WstringDefOperations
- The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero.
type
public TypeCode type()
- Description copied from interface:
IDLTypeOperations
- The type attribute describes the type defined by an object
derived from IDLType.
def_kind
public DefinitionKind def_kind()
- Description copied from interface:
IRObjectOperations
- The def_kind type_name attribute identifies the type of the definition.
destroy
public void destroy()
- Description copied from interface:
IRObjectOperations
- The destroy operation causes the object to cease to exist. If
the object is a Container, destroy is applied to all its
contents. If the object contains an IDLType attribute for an
anonymous type, that IDLType is destroyed. If the object is
currently contained in some other object, it is removed. If
destroy is invoked on a Repository or on a PrimitiveDef then
the BAD_INV_ORDER exception is raised with minor value 2.
Implementations may vary in their handling of references to an
object that is being destroyed, but the Repository should not
be left in an incoherent state. Attempt to destroy an object
that would leave the repository in an incoherent state shall
cause BAD_INV_ORDER exception to be raised with the minor code
1.