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. package com.sun.corba.se.impl.naming.namingutil;
  8. /**
  9. * INS URL is a generic interface for two different types of URL's specified
  10. * in INS spec.
  11. *
  12. * @Author Hemanth
  13. */
  14. public interface INSURL {
  15. public boolean getRIRFlag( );
  16. // There can be one or more Endpoint's in the URL, so the return value is
  17. // a List
  18. public java.util.List getEndpointInfo( );
  19. public String getKeyString( );
  20. public String getStringifiedName( );
  21. // This method will return true only in CorbanameURL, It is provided because
  22. // corbaname: URL needs special handling.
  23. public boolean isCorbanameURL( );
  24. // A debug method, which is not required for normal operation
  25. public void dPrint( );
  26. }