1. /*
  2. * @(#)ObjectAdapterId.java 1.5 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.spi.ior ;
  8. import java.util.Iterator ;
  9. /** This is the object adapter ID for an object adapter.
  10. * Typically this is the path of strings starting from the
  11. * Root POA to get to a POA, but other implementations are possible.
  12. */
  13. public interface ObjectAdapterId extends Writeable {
  14. /** Return the number of elements in the adapter ID.
  15. */
  16. int getNumLevels() ;
  17. /** Return an iterator that iterates over the components
  18. * of this adapter ID. Each element is returned as a String.
  19. */
  20. Iterator iterator() ;
  21. /** Get the adapter name simply as an array of strings.
  22. */
  23. String[] getAdapterName() ;
  24. }