org.jboss.iiop.rmi.ir
Class ConstantDefImpl

java.lang.Object
  extended by org.jboss.iiop.rmi.ir.ConstantDefImpl
All Implemented Interfaces:
ConstantDefOperations, ContainedOperations, IRObjectOperations

public class ConstantDefImpl
extends Object
implements ConstantDefOperations

Constant IR object.

Version:
$Revision: 57194 $
Author:
Ole Husgaard

Field Summary
protected  String absolute_name
          The absolute name of this object.
protected  DefinitionKind def_kind
           
protected  org.jboss.iiop.rmi.ir.LocalContainer defined_in
          The container this is defined in.
protected  String id
          The global repository ID of this object.
protected  String name
          The name of this object within its container.
protected  org.jboss.iiop.rmi.ir.RepositoryImpl repository
           
protected  String version
          The version of this object.
 
Method Summary
 String absolute_name()
           
 void allDone()
           
 Repository containing_repository()
           
 DefinitionKind def_kind()
           
 Container defined_in()
           
 org.omg.CORBA.ContainedPackage.Description describe()
           
 void destroy()
           
protected  byte[] getObjectId()
          Return the POA object ID of this IR object.
protected  ORB getORB()
          Return the ORB for this IRObject.
protected  POA getPOA()
          Return the POA for this IRObject.
 IRObject getReference()
           
 org.jboss.iiop.rmi.ir.RepositoryImpl getRepository()
          Get a reference to the local IR implementation that this Contained object exists in.
 org.jboss.iiop.rmi.ir.RepositoryImpl getRepository()
           
 String id()
           
 void id(String id)
           
 void move(Container new_container, String new_name, String new_version)
           
 String name()
           
 void name(String name)
           
protected  Object servantToReference(Servant servant)
          Convert a servant to a reference.
 void shutdown()
          Unexport this object.
 void shutdown()
          Unexport this object.
 IDLType type_def()
           
 void type_def(IDLType arg)
           
 TypeCode type()
           
 Any value()
           
 void value(Any arg)
           
 String version()
           
 void version(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.ContainedOperations
absolute_name, containing_repository, defined_in, id, id, move, name, name, version, version
 
Methods inherited from interface org.omg.CORBA.IRObjectOperations
def_kind, destroy
 

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.jboss.iiop.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.jboss.iiop.rmi.ir.RepositoryImpl repository

def_kind

protected DefinitionKind def_kind
Method Detail

getReference

public IRObject getReference()

allDone

public void allDone()
             throws org.jboss.iiop.rmi.ir.IRConstructionException
Throws:
org.jboss.iiop.rmi.ir.IRConstructionException

type

public TypeCode type()
Specified by:
type in interface ConstantDefOperations

type_def

public IDLType type_def()
Specified by:
type_def in interface ConstantDefOperations

type_def

public void type_def(IDLType arg)
Specified by:
type_def in interface ConstantDefOperations

value

public Any value()
Specified by:
value in interface ConstantDefOperations

value

public void value(Any arg)
Specified by:
value in interface ConstantDefOperations

describe

public org.omg.CORBA.ContainedPackage.Description describe()
Specified by:
describe in interface ContainedOperations

id

public String id()

id

public void id(String id)

name

public String name()

name

public void name(String name)

version

public String version()

version

public void version(String version)

defined_in

public Container defined_in()

absolute_name

public String absolute_name()

containing_repository

public Repository containing_repository()

move

public void move(Container new_container,
                 String new_name,
                 String new_version)

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 org.jboss.iiop.rmi.ir.RepositoryImpl getRepository()
Get a reference to the local IR implementation that this Contained object exists in.


shutdown

public void shutdown()
Unexport this object.


def_kind

public DefinitionKind def_kind()
Specified by:
def_kind in interface IRObjectOperations

destroy

public void destroy()
Specified by:
destroy in interface IRObjectOperations

shutdown

public void shutdown()
Unexport this object.


getRepository

public org.jboss.iiop.rmi.ir.RepositoryImpl getRepository()

getORB

protected ORB getORB()
Return the ORB for this IRObject.


getPOA

protected POA getPOA()
Return the POA for this IRObject.


servantToReference

protected Object servantToReference(Servant servant)
Convert a servant to a reference.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.