/* * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.spi.ior ; import java.util.Iterator ; /** 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. */ public interface ObjectAdapterId extends Writeable { /** Return the number of elements in the adapter ID. */ int getNumLevels() ; /** Return an iterator that iterates over the components * of this adapter ID. Each element is returned as a String. */ Iterator iterator() ; /** Get the adapter name simply as an array of strings. */ String[] getAdapterName() ; }