iortemplate.java

来自「java jdk 1.4的源码」· Java 代码 · 共 42 行

JAVA
42
字号
/* * @(#)IORTemplate.java	1.12 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. *///Source file: J:/ws/serveractivation/src/share/classes/com.sun.corba.se.internal.ior/IORTemplate.javapackage com.sun.corba.se.internal.ior;import java.util.Iterator ;import org.omg.IOP.TAG_INTERNET_IOP ;import com.sun.corba.se.internal.ior.IdentifiableContainerBase ;/** * This class is a container of TaggedProfileTemplates. * @author  */public class IORTemplate extends IdentifiableContainerBase{    /** Ensure that this IORTemplate and all of its profiles can not be    * modified.  This overrides the method inherited from     * FreezableList through IdentifiableContainerBase.    * Only IIOPProfileTemplates can be frozen at this point.    */    public void makeImmutable()    {	Iterator iter = iteratorById( TAG_INTERNET_IOP.value ) ;	while (iter.hasNext()) {	    Object obj = iter.next() ;	    if (obj instanceof IIOPProfileTemplate) {		IIOPProfileTemplate temp = (IIOPProfileTemplate)obj ;		temp.makeImmutable() ;	    }	}	super.makeImmutable() ;    }}

⌨️ 快捷键说明

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