Package org.wildfly.iiop.openjdk.rmi.ir
Class ConstantDefImpl
- java.lang.Object
-
- org.wildfly.iiop.openjdk.rmi.ir.ConstantDefImpl
-
- All Implemented Interfaces:
org.omg.CORBA.ConstantDefOperations,org.omg.CORBA.ContainedOperations,org.omg.CORBA.IRObjectOperations
public class ConstantDefImpl extends Object implements org.omg.CORBA.ConstantDefOperations
Constant IR object.- Version:
- $Revision: 81018 $
- Author:
- Ole Husgaard
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringabsolute_nameThe absolute name of this object.protected org.omg.CORBA.DefinitionKinddef_kindprotected org.wildfly.iiop.openjdk.rmi.ir.LocalContainerdefined_inThe container this is defined in.protected StringidThe global repository ID of this object.protected StringnameThe name of this object within its container.protected org.wildfly.iiop.openjdk.rmi.ir.RepositoryImplrepositoryprotected StringversionThe version of this object.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Stringabsolute_name()voidallDone()org.omg.CORBA.Repositorycontaining_repository()org.omg.CORBA.DefinitionKinddef_kind()org.omg.CORBA.Containerdefined_in()org.omg.CORBA.ContainedPackage.Descriptiondescribe()voiddestroy()protected byte[]getObjectId()Return the POA object ID of this IR object.protected org.omg.CORBA.ORBgetORB()Return the ORB for this IRObject.protected org.omg.PortableServer.POAgetPOA()Return the POA for this IRObject.org.omg.CORBA.IRObjectgetReference()org.wildfly.iiop.openjdk.rmi.ir.RepositoryImplgetRepository()org.wildfly.iiop.openjdk.rmi.ir.RepositoryImplgetRepository()Get a reference to the local IR implementation that this Contained object exists in.Stringid()voidid(String id)voidmove(org.omg.CORBA.Container new_container, String new_name, String new_version)Stringname()voidname(String name)protected org.omg.CORBA.ObjectservantToReference(org.omg.PortableServer.Servant servant)Convert a servant to a reference.voidshutdown()Unexport this object.voidshutdown()Unexport this object.org.omg.CORBA.TypeCodetype()org.omg.CORBA.IDLTypetype_def()voidtype_def(org.omg.CORBA.IDLType arg)org.omg.CORBA.Anyvalue()voidvalue(org.omg.CORBA.Any arg)Stringversion()voidversion(String version)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
id
protected String id
The global repository ID of this object.
-
name
protected String name
The name of this object within its container.
-
version
protected String version
The version of this object. Defaults to 1.0.
-
defined_in
protected org.wildfly.iiop.openjdk.rmi.ir.LocalContainer defined_in
The container this is defined in. This may not be the same as the container this is contained in.
-
absolute_name
protected String absolute_name
The absolute name of this object.
-
repository
protected org.wildfly.iiop.openjdk.rmi.ir.RepositoryImpl repository
-
def_kind
protected final org.omg.CORBA.DefinitionKind def_kind
-
-
Method Detail
-
getReference
public org.omg.CORBA.IRObject getReference()
-
allDone
public void allDone() throws IRConstructionException- Throws:
IRConstructionException
-
type
public org.omg.CORBA.TypeCode type()
- Specified by:
typein interfaceorg.omg.CORBA.ConstantDefOperations
-
type_def
public org.omg.CORBA.IDLType type_def()
- Specified by:
type_defin interfaceorg.omg.CORBA.ConstantDefOperations
-
type_def
public void type_def(org.omg.CORBA.IDLType arg)
- Specified by:
type_defin interfaceorg.omg.CORBA.ConstantDefOperations
-
value
public org.omg.CORBA.Any value()
- Specified by:
valuein interfaceorg.omg.CORBA.ConstantDefOperations
-
value
public void value(org.omg.CORBA.Any arg)
- Specified by:
valuein interfaceorg.omg.CORBA.ConstantDefOperations
-
describe
public org.omg.CORBA.ContainedPackage.Description describe()
- Specified by:
describein interfaceorg.omg.CORBA.ContainedOperations
-
id
public String id()
- Specified by:
idin interfaceorg.omg.CORBA.ContainedOperations
-
id
public void id(String id)
- Specified by:
idin interfaceorg.omg.CORBA.ContainedOperations
-
name
public String name()
- Specified by:
namein interfaceorg.omg.CORBA.ContainedOperations
-
name
public void name(String name)
- Specified by:
namein interfaceorg.omg.CORBA.ContainedOperations
-
version
public String version()
- Specified by:
versionin interfaceorg.omg.CORBA.ContainedOperations
-
version
public void version(String version)
- Specified by:
versionin interfaceorg.omg.CORBA.ContainedOperations
-
defined_in
public org.omg.CORBA.Container defined_in()
- Specified by:
defined_inin interfaceorg.omg.CORBA.ContainedOperations
-
absolute_name
public String absolute_name()
- Specified by:
absolute_namein interfaceorg.omg.CORBA.ContainedOperations
-
containing_repository
public org.omg.CORBA.Repository containing_repository()
- Specified by:
containing_repositoryin interfaceorg.omg.CORBA.ContainedOperations
-
move
public void move(org.omg.CORBA.Container new_container, String new_name, String new_version)- Specified by:
movein interfaceorg.omg.CORBA.ContainedOperations
-
getObjectId
protected byte[] getObjectId()
Return the POA object ID of this IR object. Contained objects use the UTF-8 encoding of their id, prefixed by "repository_name:".
-
getRepository
public abstract org.wildfly.iiop.openjdk.rmi.ir.RepositoryImpl getRepository()
Get a reference to the local IR implementation that this Contained object exists in.
-
shutdown
public abstract void shutdown()
Unexport this object.
-
def_kind
public org.omg.CORBA.DefinitionKind def_kind()
- Specified by:
def_kindin interfaceorg.omg.CORBA.IRObjectOperations
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.omg.CORBA.IRObjectOperations
-
shutdown
public void shutdown()
Unexport this object.
-
getRepository
public org.wildfly.iiop.openjdk.rmi.ir.RepositoryImpl getRepository()
-
getORB
protected org.omg.CORBA.ORB getORB()
Return the ORB for this IRObject.
-
getPOA
protected org.omg.PortableServer.POA getPOA()
Return the POA for this IRObject.
-
servantToReference
protected org.omg.CORBA.Object servantToReference(org.omg.PortableServer.Servant servant)
Convert a servant to a reference.
-
-