Package org.apache.harmony.rmi.test

Examples of org.apache.harmony.rmi.test.MyRemoteObject


     *
     * @throws  Exception
     *          If some error occurs.
     */
    private void initServer() throws Exception {
        MyRemoteObject obj = new MyRemoteObject();
        System.err.println("Object: " + obj + " created and exported.");
        Registry reg = LocateRegistry.createRegistry(REGISTRY_PORT);
        exportedObjects.add(reg);
        System.err.println("Registry created.");
        reg.bind("MyRemoteObject", RemoteObject.toStub(obj));
View Full Code Here


     *
     * @throws  Exception
     *          If some error occurs.
     */
    private void initServer() throws Exception {
        MyRemoteObject obj = new MyRemoteObject();
        System.err.println("Object: " + obj + " created and exported.");
        Registry reg = LocateRegistry.createRegistry(REGISTRY_PORT);
        exportedObjects.add(reg);
        System.err.println("Registry created.");
        reg.bind("MyRemoteObject", RemoteObject.toStub(obj));
View Full Code Here

     *
     * @throws  Exception
     *          If some error occurs.
     */
    private void initServer() throws Exception {
        MyRemoteObject obj = new MyRemoteObject();
        System.err.println("Object: " + obj + " created and exported.");
        Registry reg = LocateRegistry.createRegistry(REGISTRY_PORT);
        exportedObjects.add(reg);
        System.err.println("Registry created.");
        reg.bind("MyRemoteObject", RemoteObject.toStub(obj));
View Full Code Here

TOP

Related Classes of org.apache.harmony.rmi.test.MyRemoteObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.