Interface ObjectAdapterId

All Superinterfaces:
Iterable<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 Iterable<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

    Modifier and Type
    Method
    Description
    Get the adapter name simply as an array of strings.
    int
    Return the number of elements in the adapter ID.
    Return an iterator that iterates over the components of this adapter ID.

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface com.sun.corba.ee.spi.ior.Writeable

    write
  • Method Details

    • 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") Iterator<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 interface Iterable<String>
      Returns:
      iterator over components
    • getAdapterName

      String[] getAdapterName()
      Get the adapter name simply as an array of strings.
      Returns:
      adapter name