org.jboss.iiop.rmi.ir
Class AttributeDefImpl

java.lang.Object
  extended byorg.jboss.iiop.rmi.ir.IRObjectImpl
      extended byorg.jboss.iiop.rmi.ir.ContainedImpl
          extended byorg.jboss.iiop.rmi.ir.AttributeDefImpl
All Implemented Interfaces:
org.omg.CORBA.IRObjectOperations, org.jboss.iiop.rmi.ir.LocalContained, org.jboss.iiop.rmi.ir.LocalIRObject

public class AttributeDefImpl
extends org.jboss.iiop.rmi.ir.ContainedImpl

Attribute IR object.


Field Summary
protected  java.lang.String absolute_name
          The absolute name of this object.
protected  org.omg.CORBA.DefinitionKind def_kind
           
protected  org.jboss.iiop.rmi.ir.LocalContainer defined_in
          The container this is defined in.
protected  java.lang.String id
          The global repository ID of this object.
protected  java.lang.String name
          The name of this object within its container.
protected  org.jboss.iiop.rmi.ir.RepositoryImpl repository
           
protected  java.lang.String version
          The version of this object.
 
Method Summary
 java.lang.String absolute_name()
           
 void allDone()
          Finalize the building process, and export.
 Repository containing_repository()
           
 org.omg.CORBA.DefinitionKind def_kind()
           
 Container defined_in()
           
 Description describe()
           
 void destroy()
           
protected  byte[] getObjectId()
          Return the POA object ID of this IR object.
protected  org.omg.CORBA.ORB getORB()
          Return the ORB for this IRObject.
protected  org.omg.PortableServer.POA getPOA()
          Return the POA for this IRObject.
 org.omg.CORBA.IRObject getReference()
          Get an exported CORBA reference to this IRObject.
 org.jboss.iiop.rmi.ir.RepositoryImpl getRepository()
          Get a reference to the local IR implementation that this Contained object exists in.
 java.lang.String id()
           
 void id(java.lang.String id)
           
 AttributeMode mode()
           
 void mode(AttributeMode arg)
           
 void move(Container new_container, java.lang.String new_name, java.lang.String new_version)
           
 java.lang.String name()
           
 void name(java.lang.String name)
           
protected  org.omg.CORBA.Object servantToReference(org.omg.PortableServer.Servant servant)
          Convert a servant to a reference.
 void shutdown()
          Unexport this object.
 org.omg.CORBA.IDLType type_def()
           
 void type_def(org.omg.CORBA.IDLType arg)
           
 org.omg.CORBA.TypeCode type()
           
 java.lang.String version()
           
 void version(java.lang.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.IRObjectOperations
def_kind, destroy
 

Field Detail

id

protected java.lang.String id
The global repository ID of this object.


name

protected java.lang.String name
The name of this object within its container.


version

protected java.lang.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 java.lang.String absolute_name
The absolute name of this object.


repository

protected org.jboss.iiop.rmi.ir.RepositoryImpl repository

def_kind

protected org.omg.CORBA.DefinitionKind def_kind
Method Detail

getReference

public org.omg.CORBA.IRObject getReference()
Description copied from interface: org.jboss.iiop.rmi.ir.LocalIRObject
Get an exported CORBA reference to this IRObject.


allDone

public void allDone()
             throws org.jboss.iiop.rmi.ir.IRConstructionException
Description copied from interface: org.jboss.iiop.rmi.ir.LocalIRObject
Finalize the building process, and export.

Throws:
org.jboss.iiop.rmi.ir.IRConstructionException

type

public org.omg.CORBA.TypeCode type()

type_def

public org.omg.CORBA.IDLType type_def()

type_def

public void type_def(org.omg.CORBA.IDLType arg)

mode

public AttributeMode mode()

mode

public void mode(AttributeMode arg)

describe

public Description describe()

id

public java.lang.String id()

id

public void id(java.lang.String id)

name

public java.lang.String name()

name

public void name(java.lang.String name)

version

public java.lang.String version()

version

public void version(java.lang.String version)

defined_in

public Container defined_in()

absolute_name

public java.lang.String absolute_name()

containing_repository

public Repository containing_repository()

move

public void move(Container new_container,
                 java.lang.String new_name,
                 java.lang.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.

Specified by:
getRepository in interface org.jboss.iiop.rmi.ir.LocalIRObject

shutdown

public void shutdown()
Unexport this object.


def_kind

public org.omg.CORBA.DefinitionKind def_kind()
Specified by:
def_kind in interface org.omg.CORBA.IRObjectOperations

destroy

public void destroy()
Specified by:
destroy in interface org.omg.CORBA.IRObjectOperations

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.