org.objectweb.carol.jtests.conform.basic.server
Class BasicMultiObject

java.lang.Object
  |
  +--javax.rmi.PortableRemoteObject
        |
        +--org.objectweb.carol.jtests.conform.basic.server.BasicMultiObject
All Implemented Interfaces:
BasicMultiObjectItf, java.rmi.Remote

public class BasicMultiObject
extends javax.rmi.PortableRemoteObject
implements BasicMultiObjectItf

Class BasicMultiObject is a basic remote object with reference to another object

Version:
1.0, 15/07/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Constructor Summary
BasicMultiObject()
          Constructor
 
Method Summary
 BasicObjectItf getBasicObject()
          Basic multi method this method get the BasicObjectItf stub
 java.lang.String getBasicRefString()
          Basic Ref String, method this method get the BasicObjectItf stub
 java.lang.String getMultiString()
          Basic multi method this method get the name for the BasicObjectItf from jndi and return the result of getSting added with a multi
 
Methods inherited from class javax.rmi.PortableRemoteObject
connect, exportObject, narrow, toStub, unexportObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMultiObject

public BasicMultiObject()
                 throws java.lang.Exception
Constructor

Method Detail

getMultiString

public java.lang.String getMultiString()
                                throws java.rmi.RemoteException
Basic multi method this method get the name for the BasicObjectItf from jndi and return the result of getSting added with a multi

Specified by:
getMultiString in interface BasicMultiObjectItf
Returns:
String "string"
java.rmi.RemoteException

getBasicObject

public BasicObjectItf getBasicObject()
                              throws java.rmi.RemoteException
Basic multi method this method get the BasicObjectItf stub

Specified by:
getBasicObject in interface BasicMultiObjectItf
Returns:
BasicObjectItf
java.rmi.RemoteException

getBasicRefString

public java.lang.String getBasicRefString()
                                   throws java.rmi.RemoteException
Basic Ref String, method this method get the BasicObjectItf stub

Specified by:
getBasicRefString in interface BasicMultiObjectItf
Returns:
String of the reference
java.rmi.RemoteException