📄 datacollector.java
字号:
/* * @(#)DataCollector.java 1.14 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.spi.orb ;import java.applet.Applet ;import java.util.Properties ;import java.util.Vector ;/** Interface for collecting all sources of ORB configuration properties * into a single properties object. A PropertyParser is needed so that * the set of property names of interest is known. */public interface DataCollector { /** Return true iff this DataCollector was created from * applet data. */ boolean isApplet() ; /** Return true iff the local host and ORB initial host are the same. * This is provided to avoid exposing the local host in insecure * contexts. */ boolean initialHostIsLocal() ; /** Set the parser which is used to obtain property names. * This must be called before getProperties * may be called. It may be called multiple times if different * sets of properties are needed for the same data sources. */ void setParser( PropertyParser parser ) ; /** Return the consolidated property information to be used * for ORB configuration. Note that -ORBInitRef arguments are * handled specially: all -ORBInitRef name=value arguments are * converted into ( org.omg.CORBA.ORBInitRef.name, value ) * mappings in the resulting properties. Also, -ORBInitialServices * is handled specially in applet mode: they are converted from * relative to absolute URLs. * @raises IllegalStateException if setPropertyNames has not * been called. */ Properties getProperties() ;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -