Package com.sun.ejb.codegen
Class StaticRmiStubGenerator
java.lang.Object
com.sun.ejb.codegen.StaticRmiStubGenerator
This class is used to generate the RMI-IIOP version of a
remote business interface.
-
Constructor Summary
ConstructorsConstructorDescriptionStaticRmiStubGenerator(org.glassfish.hk2.api.ServiceLocator services) This class is only instantiated internally. -
Method Summary
Modifier and TypeMethodDescriptionvoidejbc(org.glassfish.api.deployment.DeploymentContext deploymentCtx) Generates and compiles the necessary impl classes, stubs and skels.
-
Constructor Details
-
StaticRmiStubGenerator
public StaticRmiStubGenerator(org.glassfish.hk2.api.ServiceLocator services) This class is only instantiated internally.
-
-
Method Details
-
ejbc
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
-