src/share/classes/javax/rmi/CORBA/UtilDelegate.java

Print this page
rev 597 : 8047722: @since tag cleanup in corba
Reviewed-by:


  36 import java.rmi.RemoteException;
  37 import javax.rmi.CORBA.Tie;
  38 import javax.rmi.CORBA.ValueHandler;
  39 import org.omg.CORBA.ORB;
  40 import org.omg.CORBA.portable.InputStream;
  41 import org.omg.CORBA.portable.OutputStream;
  42 import org.omg.CORBA.SystemException;
  43 
  44 /**
  45  * Supports delegation for method implementations in {@link Util}.  The
  46  * delegate is a singleton instance of a class that implements this
  47  * interface and provides a replacement implementation for all the
  48  * methods of <code>javax.rmi.CORBA.Util</code>.
  49  *
  50  * Delegation is enabled by providing the delegate's class name as the
  51  * value of the
  52  * <code>javax.rmi.CORBA.UtilClass</code>
  53  * system property.
  54  *
  55  * @see Util

  56  */
  57 public interface UtilDelegate {
  58 
  59     /**
  60      * Delegation call for {@link Util#mapSystemException}.
  61      */
  62     RemoteException mapSystemException(SystemException ex);
  63 
  64     /**
  65      * Delegation call for {@link Util#writeAny}.
  66      */
  67     void writeAny(OutputStream out, Object obj);
  68 
  69     /**
  70      * Delegation call for {@link Util#readAny}.
  71      */
  72     java.lang.Object readAny(InputStream in);
  73 
  74     /**
  75      * Delegation call for {@link Util#writeRemoteObject}.




  36 import java.rmi.RemoteException;
  37 import javax.rmi.CORBA.Tie;
  38 import javax.rmi.CORBA.ValueHandler;
  39 import org.omg.CORBA.ORB;
  40 import org.omg.CORBA.portable.InputStream;
  41 import org.omg.CORBA.portable.OutputStream;
  42 import org.omg.CORBA.SystemException;
  43 
  44 /**
  45  * Supports delegation for method implementations in {@link Util}.  The
  46  * delegate is a singleton instance of a class that implements this
  47  * interface and provides a replacement implementation for all the
  48  * methods of <code>javax.rmi.CORBA.Util</code>.
  49  *
  50  * Delegation is enabled by providing the delegate's class name as the
  51  * value of the
  52  * <code>javax.rmi.CORBA.UtilClass</code>
  53  * system property.
  54  *
  55  * @see Util
  56  * @since 1.3
  57  */
  58 public interface UtilDelegate {
  59 
  60     /**
  61      * Delegation call for {@link Util#mapSystemException}.
  62      */
  63     RemoteException mapSystemException(SystemException ex);
  64 
  65     /**
  66      * Delegation call for {@link Util#writeAny}.
  67      */
  68     void writeAny(OutputStream out, Object obj);
  69 
  70     /**
  71      * Delegation call for {@link Util#readAny}.
  72      */
  73     java.lang.Object readAny(InputStream in);
  74 
  75     /**
  76      * Delegation call for {@link Util#writeRemoteObject}.