KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > ior > ObjectAdapterId


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
8 package com.sun.corba.se.spi.ior ;
9
10 import java.util.Iterator JavaDoc ;
11
12 /** This is the object adapter ID for an object adapter.
13 * Typically this is the path of strings starting from the
14 * Root POA to get to a POA, but other implementations are possible.
15 */

16 public interface ObjectAdapterId extends Writeable {
17     /** Return the number of elements in the adapter ID.
18     */

19     int getNumLevels() ;
20
21     /** Return an iterator that iterates over the components
22     * of this adapter ID. Each element is returned as a String.
23     */

24     Iterator JavaDoc iterator() ;
25
26     /** Get the adapter name simply as an array of strings.
27     */

28     String JavaDoc[] getAdapterName() ;
29 }
30
Popular Tags