KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > naming > namingutil > INSURL


1 /*
2  * @(#)INSURL.java 1.4 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.impl.naming.namingutil;
9
10 /**
11  * INS URL is a generic interface for two different types of URL's specified
12  * in INS spec.
13  *
14  * @Author Hemanth
15  */

16 public interface INSURL {
17     public boolean getRIRFlag( );
18
19     // There can be one or more Endpoint's in the URL, so the return value is
20
// a List
21
public java.util.List JavaDoc getEndpointInfo( );
22
23     public String JavaDoc getKeyString( );
24
25     public String JavaDoc getStringifiedName( );
26
27     // This method will return true only in CorbanameURL, It is provided because
28
// corbaname: URL needs special handling.
29
public boolean isCorbanameURL( );
30
31     // A debug method, which is not required for normal operation
32
public void dPrint( );
33 }
34
35     
36
Popular Tags