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

📄 rmiexporter.java

📁 java1.6众多例子参考
💻 JAVA
字号:
/* * @(#)RMIExporter.java	1.4 05/11/17 *  * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.jmx.remote.internal;import java.rmi.NoSuchObjectException;import java.rmi.Remote;import java.rmi.RemoteException;import java.rmi.server.RMIClientSocketFactory;import java.rmi.server.RMIServerSocketFactory;import java.rmi.server.UnicastRemoteObject;/** * <p>Unpublished interface controlling how the RMI Connector Server * exports objects.  The RMIServerImpl object and each * RMIConnectionImpl object are exported using the exporter.  The * default exporter calls {@link * UnicastRemoteObject#exportObject(Remote, int, * RMIClientSocketFactory, RMIServerSocketFactory)} to export objects * and {@link UnicastRemoteObject#unexportObject(Remote, boolean)} to * unexport them.  A replacement exporter can be specified via the * {@link #EXPORTER_ATTRIBUTE} property in the environment Map passed * to the RMI connector server.</p> */public interface RMIExporter {    public static final String EXPORTER_ATTRIBUTE =	"com.sun.jmx.remote.rmi.exporter";    public Remote exportObject(Remote obj,			       int port,			       RMIClientSocketFactory csf,			       RMIServerSocketFactory ssf)	    throws RemoteException;    public boolean unexportObject(Remote obj, boolean force)	    throws NoSuchObjectException;}

⌨️ 快捷键说明

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