com.borland.jbuilder.enterprise.ejb
Class AppServerTargeting
java.lang.Object
|
+--com.borland.jbuilder.enterprise.ejb.AppServerTargeting
- public class AppServerTargeting
- extends java.lang.Object
This class provides the base class for targeting a specific AppServer
during both design and build.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppServerTargeting
public AppServerTargeting()
verifyDeploymentDescriptors
public void verifyDeploymentDescriptors(MessageView mv,
MessageCategory mc,
DeploymentDescriptor[] dds,
EJBGRPFileNode ejbGrpNode)
- Verify the deployment descriptors and append any warning/error messages
to the given MessageView using the given category at the time the Verify
button is used in the DD Editor.
- Parameters:
mv
- MessageView to use for any warnings/errors.messageCategory
- MessageCategory of mv to use.dds
- Array of deployment descriptors.ejbGrpNode
- The EJB Group file node.
updateDeploymentDescriptors
public DeploymentDescriptor[] updateDeploymentDescriptors(DeploymentDescriptor[] dds,
EJBGRPFileNode ejbGrpNode,
BuildReport report)
- Update the EJB Group files and return the deployment descriptors to be
included in the deployed jar during the Make/Rebuild process.
- Parameters:
Array
- of deployment descriptors.ejbGrpNode
- The EJB Group file node.report
- Where to accumulate error messages on conversion process.- Returns:
- Array of deployment descriptors to be jar'ed or null if none.
updateVerifyReport
public void updateVerifyReport(JarFileNode jarNode,
BuildReport report)
- Verify the given jar and use given report object to record any error
and warning messages following the Make/Rebuild process but before the
postProcessBuild().
- Parameters:
jarNode
- Node for the jar file.report
- Where to accumulate error/warning messages.- Returns:
- Array of deployment descriptors to be jar'ed or null if none.
postProcessBuild
public void postProcessBuild(BuildProcess buildProcess,
EJBGRPFileNode ejbGrpNode,
JarFileNode jarNode)
- After the normal Make/Rebuild process generates the deployable jar, perform
any needed postprocessing.
- Parameters:
buildProcess
- The build process that built jar from the EJB Group file.ejbGrpNode
- The EJB Group file node.jarNode
- Node for the jar file.