insurlbase.java

来自「JAVA 所有包」· Java 代码 · 共 60 行

JAVA
60
字号
/* * @(#)INSURLBase.java	1.6 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.impl.naming.namingutil;/** The corbaloc: URL definitions from the -ORBInitDef and -ORBDefaultInitDef's *  will be stored in this object. This object is capable of storing multiple *  Host profiles as defined in the CorbaLoc grammer. * *  @author  Hemanth */public abstract class INSURLBase implements INSURL {    // If rirFlag is set to true that means internal    // boot strapping technique will be used. If set to    // false then the EndpointInfo will be used to create the    // Service Object reference.    protected boolean rirFlag = false ;    protected java.util.ArrayList theEndpointInfo = null ;    protected String theKeyString = "NameService" ;    protected String theStringifiedName = null ;    public boolean getRIRFlag( ) {        return rirFlag;    }     public java.util.List getEndpointInfo( ) {        return theEndpointInfo;    }    public String getKeyString( ) {        return theKeyString;    }    public String getStringifiedName( ) {        return theStringifiedName;    }    public abstract boolean isCorbanameURL( );    public void dPrint( ) {        System.out.println( "URL Dump..." );        System.out.println( "Key String = " + getKeyString( ) );        System.out.println( "RIR Flag = " + getRIRFlag( ) );        System.out.println( "isCorbanameURL = " + isCorbanameURL() );        for( int i = 0; i < theEndpointInfo.size( ); i++ ) {            ((IIOPEndpointInfo) theEndpointInfo.get( i )).dump( );        }        if( isCorbanameURL( ) ) {            System.out.println( "Stringified Name = " + getStringifiedName() );        }    }    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?