Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.jdeveloper.deploy.jar
Class ArchiveDeployer

java.lang.Object
  extended by oracle.jdeveloper.deploy.common.AbstractDeployer
      extended by oracle.jdevimpl.deploy.common.ProfileDeployer
          extended by oracle.jdeveloper.deploy.jar.ArchiveDeployer

All Implemented Interfaces:
Deployer

public class ArchiveDeployer
extends oracle.jdevimpl.deploy.common.ProfileDeployer

Deployer for a regular archive. This Deployer builds a list of files that will be deployed based on the FileGroups in the Profile.


Field Summary
protected  DeploymentModule _depMod
           
protected  ArchiveProfile _profile
           

 

Constructor Summary
ArchiveDeployer(int deploySequence, DeployShell shell)
           

 

Method Summary
protected  void addInitialContentSet(ArchiveProfile profile, DeploymentModule archive, DeployShell dsh)
           
 void cancelImpl(int deploySequence, DeployShell dsh)
           
 void deployImpl(int deploySequence, DeployShell dsh)
          This method writes out the Archive.
 void finishImpl(int deploySequence, DeployShell dsh)
          End of deployment, resources like temporary files are removed.
 DefaultArchive getArchive()
          Deprecated. use getDeploymentModule() instead.
 DeploymentModule getDeploymentModule(DeployShell shell)
          Returns the DeploymentModule that is being constructed by this Deployer.
 oracle.jdevimpl.deploy.fwk.JarUtil getJarUtil()
          Deprecated. Use getDeploymentModule() instead.
protected  ArchiveProfile getProfile()
           
protected  java.net.URL getTargetURL(DeployShell dsh)
           
protected  void logFileUpToDate(java.io.PrintWriter log, java.lang.String jarPath)
          Deprecated. 
protected  void logFileWritten(java.util.logging.Logger logger, java.net.URL jarURL)
           
protected  void logFileWritten(java.io.PrintWriter log, java.lang.String jarPath)
          Deprecated. 
protected  void maybeSetManifestClassPath(DeploymentModule archive, ArchiveProfile profile, DeployShell dsh)
           
 void prepareImpl(int deploySequence, DeployShell dsh)
          This method expands the FileGroups in an ArchiveProfile and constructs a DeploymentModule from it.
protected  void release(DeploymentModule depMod)
           
 void setDeploymentModule(DeploymentModule module, DeployShell shell)
           
protected  void setDeploymentModuleURL(java.net.URL url, DeployShell shell)
           
protected  void setJarUtil(oracle.jdevimpl.deploy.fwk.JarUtil jarUtil)
          Deprecated. 

 

Methods inherited from class oracle.jdevimpl.deploy.common.ProfileDeployer
createJarUtil, createJarUtil, getConnectionName, getJarClassesDir, getProfileContainer, processFileGroups

 

Methods inherited from class oracle.jdeveloper.deploy.common.AbstractDeployer
cancel, canDeploy, deploy, finish, getName, getSequenceId, prepare, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

_profile

protected final ArchiveProfile _profile

_depMod

protected DeploymentModule _depMod

Constructor Detail

ArchiveDeployer

public ArchiveDeployer(int deploySequence,
                       DeployShell shell)

Method Detail

prepareImpl

public void prepareImpl(int deploySequence,
                        DeployShell dsh)
                 throws DeployException
This method expands the FileGroups in an ArchiveProfile and constructs a DeploymentModule from it. When this method finishes, all file patterns have been resolved to actual ArchiveEntry(s) in the DeploymentModule.
Overrides:
prepareImpl in class oracle.jdeveloper.deploy.common.AbstractDeployer
Parameters:
deploySequence -
dsh -
Throws:
DeployException

addInitialContentSet

protected void addInitialContentSet(ArchiveProfile profile,
                                    DeploymentModule archive,
                                    DeployShell dsh)
                             throws DeployException
Throws:
DeployException

deployImpl

public void deployImpl(int deploySequence,
                       DeployShell dsh)
                throws DeployException
This method writes out the Archive.
Overrides:
deployImpl in class oracle.jdevimpl.deploy.common.ProfileDeployer
Parameters:
deploySequence -
dsh -
Throws:
DeployException

finishImpl

public void finishImpl(int deploySequence,
                       DeployShell dsh)
End of deployment, resources like temporary files are removed.
Overrides:
finishImpl in class oracle.jdeveloper.deploy.common.AbstractDeployer
Parameters:
deploySequence -
dsh -

cancelImpl

public void cancelImpl(int deploySequence,
                       DeployShell dsh)
Overrides:
cancelImpl in class oracle.jdeveloper.deploy.common.AbstractDeployer

getTargetURL

protected java.net.URL getTargetURL(DeployShell dsh)
                             throws DeployException
Throws:
DeployException

getJarUtil

@Deprecated
public oracle.jdevimpl.deploy.fwk.JarUtil getJarUtil()
Deprecated. Use getDeploymentModule() instead.
Returns a logical representation of the Archive file being packaged by this Deployer.

getArchive

@Deprecated
public DefaultArchive getArchive()
Deprecated. use getDeploymentModule() instead.
Returns a logical representation of the Archive file being packaged by this Deployer.
Returns:
an Archive object, or null if an Archive has not yet been constructed.

setJarUtil

@Deprecated
protected void setJarUtil(oracle.jdevimpl.deploy.fwk.JarUtil jarUtil)
Deprecated. 

getDeploymentModule

public DeploymentModule getDeploymentModule(DeployShell shell)
Returns the DeploymentModule that is being constructed by this Deployer.
Returns:
DeploymentModule

setDeploymentModule

public void setDeploymentModule(DeploymentModule module,
                                DeployShell shell)

getProfile

protected ArchiveProfile getProfile()
Overrides:
getProfile in class oracle.jdevimpl.deploy.common.ProfileDeployer

logFileWritten

@Deprecated
protected void logFileWritten(java.io.PrintWriter log,
                                         java.lang.String jarPath)
Deprecated. 

logFileWritten

protected void logFileWritten(java.util.logging.Logger logger,
                              java.net.URL jarURL)

logFileUpToDate

@Deprecated
protected void logFileUpToDate(java.io.PrintWriter log,
                                          java.lang.String jarPath)
Deprecated. 

setDeploymentModuleURL

protected void setDeploymentModuleURL(java.net.URL url,
                                      DeployShell shell)
                               throws DeployException
Throws:
DeployException

maybeSetManifestClassPath

protected void maybeSetManifestClassPath(DeploymentModule archive,
                                         ArchiveProfile profile,
                                         DeployShell dsh)

release

protected void release(DeploymentModule depMod)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.