Java Code Examples for javax.rmi.PortableRemoteObject#exportObject()
The following examples show how to use
javax.rmi.PortableRemoteObject#exportObject() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HelloImpl.java From cacheonix-core with GNU Lesser General Public License v2.1 | 5 votes |
public void start() throws Exception { if (!m_isRunning) { // export the remote object PortableRemoteObject.exportObject(this); // set up the initialContext Context ctx = new InitialContext(); ctx.rebind(IIOP_JNDI_NAME, this); System.out.println("My Service servant started successfully"); m_isRunning = true; } }
Example 2
Source File: JndiRmiServiceExporter.java From lams with GNU General Public License v2.0 | 5 votes |
/** * Initialize this service exporter, binding the specified service to JNDI. * @throws NamingException if service binding failed * @throws RemoteException if service export failed */ public void prepare() throws NamingException, RemoteException { if (this.jndiName == null) { throw new IllegalArgumentException("Property 'jndiName' is required"); } // Initialize and cache exported object. this.exportedObject = getObjectToExport(); PortableRemoteObject.exportObject(this.exportedObject); rebind(); }
Example 3
Source File: JndiRmiServiceExporter.java From spring4-understanding with Apache License 2.0 | 5 votes |
/** * Initialize this service exporter, binding the specified service to JNDI. * @throws NamingException if service binding failed * @throws RemoteException if service export failed */ public void prepare() throws NamingException, RemoteException { if (this.jndiName == null) { throw new IllegalArgumentException("Property 'jndiName' is required"); } // Initialize and cache exported object. this.exportedObject = getObjectToExport(); PortableRemoteObject.exportObject(this.exportedObject); rebind(); }
Example 4
Source File: IIOPProxyImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 5
Source File: IIOPProxyImpl.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 6
Source File: IIOPProxyImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 7
Source File: IIOPProxyImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 8
Source File: IIOPProxyImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 9
Source File: IIOPProxyImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 10
Source File: IIOPProxyImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 11
Source File: IIOPProxyImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 12
Source File: IIOPProxyImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 13
Source File: IIOPProxyImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 14
Source File: IIOPProxyImpl.java From JDKSourceCode1.8 with MIT License | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 15
Source File: IIOPProxyImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 16
Source File: IIOPProxyImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }
Example 17
Source File: IIOPProxyImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
@Override public void exportObject(Remote obj) throws RemoteException { PortableRemoteObject.exportObject(obj); }