Fields Summary |
---|
private File | _srcDircurrent directory where the ear file has been exploded |
private File | _stubsDircurrent stubs directory for the archive |
private com.sun.enterprise.deployment.Application | _applicationobj representation of deployment descriptor |
private String[] | _classpathUrlsclass paths for this archive |
private String[] | _ejbClasspathUrlsejb class paths for this archive |
private List | _rmicOptionsRMIC options |
private List | _javacOptionsJAVAC options |
private com.sun.ejb.codegen.IASEJBCTimes | _timingtiming information for the sub-tasks of ejbc |
private DeploymentMode | _deploymentModedeployment mode |
private Properties | _optionalArgumentsoptional attributes |
private DeploymentRequest | _requestDeployment Request object |
private static com.sun.enterprise.util.i18n.StringManager | localStringsi18n string manager |
Methods Summary |
---|
public java.lang.String[] | getClasspathUrls()Returns the class paths need by this archive to compile the
generated src. This includes class-path prefix, class-path
of the target instance, common class loader paths, shared
class loader paths and the ejb class loader paths.
return this._classpathUrls;
|
public DeploymentMode | getDeploymentMode()Returns the deployment mode, i.e., archive layout.
Default is EXPLODED mode.
return this._deploymentMode;
|
public DeploymentRequest | getDeploymentRequest()Returns the original DeploymentRequest object for the current deployment
return _request;
|
public com.sun.enterprise.deployment.Application | getDescriptor()Returns the object representation of the deployment descriptor
for the current archive.
return this._application;
|
public java.lang.String[] | getEjbClasspathUrls()Returns the ejb class paths of this archive.
return this._ejbClasspathUrls;
|
public java.util.List | getJavacOptions()Returns the JAVAC options as defined in the instance's server
configuration.
The default is: "-g"
return this._javacOptions;
|
public java.util.Properties | getOptionalArguments()Returns the optional arguments - which currently consists of
CMP-specific deployment arguments
return _optionalArguments;
|
public java.util.List | getRmicOptions()Returns the RMIC options as defined in the instance's server
configuration.
The default is:
"-iiop -poa -alwaysgenerate -keepgenerated -g"
return this._rmicOptions;
|
public java.io.File | getSrcDir()Returns the current directory where the archive has been exploded.
return this._srcDir;
|
public java.io.File | getStubsDir()Returns the (current stubs) directory where all the code is
generated and being compiled for this archive.
return this._stubsDir;
|
public com.sun.ejb.codegen.IASEJBCTimes | getTiming()Returns the timing information for the sub-tasks of ejbc.
return this._timing;
|
void | setClasspathUrls(java.lang.String[] classpathUrls)Sets the ejb class paths.
this._classpathUrls = classpathUrls;
|
void | setDeploymentMode(DeploymentMode mode)Sets the deployment mode.
if (mode == null) {
String msg = localStrings.getString(
"enterprise.deployment.backend.invalid_deployment_mode",
"null" );
throw new IASDeploymentException(msg);
}
this._deploymentMode = mode;
|
void | setDeploymentRequest(DeploymentRequest request)Sets the original DeploymentRequest object for the current deployment
_request = request;
|
void | setDescriptor(com.sun.enterprise.deployment.Application application)Sets the deployment descriptor object.
this._application = application;
|
void | setEjbClasspathUrls(java.lang.String[] paths)Sets the ejb class path for this deployment.
This is the ejb part of the archive and
does not have any other class paths.
This method is used during re-deployment optimization in ejbc.
this._ejbClasspathUrls = paths;
|
void | setJavacOptions(java.util.List javacOptions)Sets the JAVAC options.
this._javacOptions = javacOptions;
|
void | setOptionalArguments(java.util.Properties p)Sets the optional attributes
_optionalArguments = p;
|
void | setRmicOptions(java.util.List rmicOptions)Sets the RMIC options.
this._rmicOptions = rmicOptions;
|
void | setSrcDir(java.io.File srcDir)Sets the directory where the archive has been exploded.
this._srcDir = srcDir;
|
void | setStubsDir(java.io.File stubsDir)Sets the current stubs directory.
this._stubsDir = stubsDir;
|
void | setTiming(com.sun.ejb.codegen.IASEJBCTimes timing)Sets the timing for ejbc.
this._timing = timing;
|