Class ServiceContextRegistry

java.lang.Object
com.sun.corba.se.spi.servicecontext.ServiceContextRegistry

public class ServiceContextRegistry extends Object
  • Constructor Details

    • ServiceContextRegistry

      public ServiceContextRegistry(ORB orb)
  • Method Details

    • register

      public void register(Class cls)
      Register the ServiceContext class so that it will be recognized by the read method. Class cls must have the following properties:
      • It must derive from com.sun.corba.se.spi.servicecontext.ServiceContext.
      • It must have a public static final int SERVICE_CONTEXT_ID member.
      • It must implement a constructor that takes a org.omg.CORBA_2_3.portable.InputStream argument.
    • findServiceContextData

      public ServiceContextData findServiceContextData(int scId)