1 7 8 package com.sun.corba.se.impl.naming.namingutil; 9 10 16 public abstract class INSURLBase implements INSURL { 17 18 protected boolean rirFlag = false ; 23 protected java.util.ArrayList theEndpointInfo = null ; 24 protected String theKeyString = "NameService" ; 25 protected String theStringifiedName = null ; 26 27 public boolean getRIRFlag( ) { 28 return rirFlag; 29 } 30 31 public java.util.List getEndpointInfo( ) { 32 return theEndpointInfo; 33 } 34 35 public String getKeyString( ) { 36 return theKeyString; 37 } 38 39 public String getStringifiedName( ) { 40 return theStringifiedName; 41 } 42 43 public abstract boolean isCorbanameURL( ); 44 45 public void dPrint( ) { 46 System.out.println( "URL Dump..." ); 47 System.out.println( "Key String = " + getKeyString( ) ); 48 System.out.println( "RIR Flag = " + getRIRFlag( ) ); 49 System.out.println( "isCorbanameURL = " + isCorbanameURL() ); 50 for( int i = 0; i < theEndpointInfo.size( ); i++ ) { 51 ((IIOPEndpointInfo) theEndpointInfo.get( i )).dump( ); 52 } 53 if( isCorbanameURL( ) ) { 54 System.out.println( "Stringified Name = " + getStringifiedName() ); 55 } 56 } 57 58 } 59 60 | Popular Tags |