Package com.sun.corba.ee.spi.ior
Interface ObjectAdapterId
-
- All Superinterfaces:
java.lang.Iterable<java.lang.String>
,Writeable
- All Known Implementing Classes:
ObjectAdapterIdArray
,ObjectAdapterIdBase
,ObjectAdapterIdNumber
@ManagedData @Description("The identifier for a particular Object adapter in the ORB") public interface ObjectAdapterId extends java.lang.Iterable<java.lang.String>, Writeable
This is the object adapter ID for an object adapter. Typically this is the path of strings starting from the Root POA to get to a POA, but other implementations are possible.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getAdapterName()
Get the adapter name simply as an array of strings.int
getNumLevels()
Return the number of elements in the adapter ID.java.util.Iterator<java.lang.String>
iterator()
Return an iterator that iterates over the components of this adapter ID.
-
-
-
Method Detail
-
getNumLevels
int getNumLevels()
Return the number of elements in the adapter ID.- Returns:
- number of elements
-
iterator
@ManagedAttribute @Description("Sequence of strings in the ObjectAdapterId") java.util.Iterator<java.lang.String> iterator()
Return an iterator that iterates over the components of this adapter ID. Each element is returned as a String.- Specified by:
iterator
in interfacejava.lang.Iterable<java.lang.String>
- Returns:
- iterator over components
-
getAdapterName
java.lang.String[] getAdapterName()
Get the adapter name simply as an array of strings.- Returns:
- adapter name
-
-