Class StaticRmiStubGenerator

java.lang.Object
com.sun.ejb.codegen.StaticRmiStubGenerator

public class StaticRmiStubGenerator extends Object
This class is used to generate the RMI-IIOP version of a remote business interface.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StaticRmiStubGenerator(org.glassfish.hk2.api.ServiceLocator services)
    This class is only instantiated internally.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    ejbc(org.glassfish.api.deployment.DeploymentContext deploymentCtx)
    Generates and compiles the necessary impl classes, stubs and skels.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StaticRmiStubGenerator

      public StaticRmiStubGenerator(org.glassfish.hk2.api.ServiceLocator services)
      This class is only instantiated internally.
  • Method Details

    • ejbc

      public void ejbc(org.glassfish.api.deployment.DeploymentContext deploymentCtx) throws Exception
      Generates and compiles the necessary impl classes, stubs and skels.
      
       This method makes the following assumptions:
          - the deployment descriptor xmls are registered with Config
          - the class paths are registered with Config
      
       @@
       In case of re-deployment, the following steps should happen before:
          - rename the src dir from previous deployment (ex. /app/pet-old)
          - rename the stubs dir from previous deployment (ex. /stub/pet-old)
          - explode the ear file (ex. /app/petstore)
          - register the deployment descriptor xml with config
          - register the class path with config
      
       After successful completion of this method, the old src and sutbs
       directories may be deleted.
      
       
      Parameters:
      deploymentCtx -
      Throws:
      Exception