All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.carol.jndi.wrapping.JNDIRemoteResource Maven / Gradle / Ivy

There is a newer version: 3.0.10
Show newest version
/**
 * Copyright (C) 2002-2007 - INRIA (www.inria.fr)
 *
 * CAROL: Common Architecture for RMI ObjectWeb Layer
 *
 * This library is developed inside the ObjectWeb Consortium,
 * http://www.ow2.org
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 * USA
 *
 * --------------------------------------------------------------------------
 * $Id: JNDIRemoteResource.java 1272 2007-09-11 11:43:56Z loris $
 * --------------------------------------------------------------------------
 */
package org.ow2.carol.jndi.wrapping;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Interface JNDIRemoteResource is the CAROL remote interface for
 * serializable ressources wrapping. This wrapping provide simple way to
 * bind/lookup those ressource in the CORBA Name Service (like a CosNaming)
 * @author Guillaume Riviere ([email protected])
 */
public interface JNDIRemoteResource extends Remote {

    /**
     * Get the serializable ressource object
     * @return the serializable resource
     * @throws RemoteException if the ressource cannot be obtained
     */
    Serializable getResource() throws RemoteException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy