⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 identifiablefactoryfinder.java

📁 java1.6众多例子参考
💻 JAVA
字号:
/* * @(#)IdentifiableFactoryFinder.java	1.10 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.ior;import org.omg.CORBA_2_3.portable.InputStream ;/** Interface used to manage a group of related IdentifiableFactory instances. * Factories can be registered, and invoked through a create method, which  * must be implemented to handle the case of no registered factory  * appropriately. * @author Ken Cavanaugh */public interface IdentifiableFactoryFinder {    /** If there is a registered factory for id, use it to      * read an Identifiable from is.  Otherwise create an     * appropriate generic container, or throw an error.     * The type of generic container, or error behavior is      * a property of the implementation.     */    Identifiable create(int id, InputStream is);    /** Register a factory for the given id.     */    void registerFactory( IdentifiableFactory factory ) ; }

⌨️ 快捷键说明

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