public class ArchiveDeployer
extends oracle.jdevimpl.deploy.common.ProfileDeployer
Stateful.State| Modifier and Type | Field and Description |
|---|---|
protected DeploymentModule |
_depMod |
| Constructor and Description |
|---|
ArchiveDeployer(int deploySequence,
DeployShell shell) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStateChangeListeners()
Called when the first state change listener is registered into this Deployer.
|
void |
cancelImpl(int deploySequence,
DeployShell dsh) |
static ArchiveEntry |
createArchiveEntry(NodeDependable nodeDependable,
java.lang.String prefix)
Make an ArchiveEntry out of a NodeDependable.
|
static ArchiveEntry |
createArchiveEntry(ProfileDependable profileDependable,
java.lang.String prefix) |
protected StatefulDescriptorPackager[] |
createDescriptorPackagers(FileGroupsPackager fileGroupsPackager,
Context context) |
protected StatefulFileGroupsPackager |
createFileGroupsPackager(ArchiveProfile profile,
Context context) |
void |
deployImpl(int deploySequence,
DeployShell dsh)
This method writes out the Archive.
|
protected void |
finalize() |
void |
finishImpl(int deploySequence,
DeployShell dsh)
End of deployment, resources like temporary files are removed.
|
DefaultArchive |
getArchive()
Deprecated.
use getDeploymentModule() instead.
|
protected ArchiveOptions |
getArchiveOptions() |
DeploymentModule |
getDeploymentModule() |
DeploymentModule |
getDeploymentModule(DeployShell shell)
Deprecated.
Use getDeploymentModule();
|
protected FileGroups |
getFileGroups(ArchiveProfile profile,
Context context) |
protected FileGroupsPackager |
getFileGroupsPackager() |
oracle.jdevimpl.deploy.fwk.JarUtil |
getJarUtil()
Deprecated.
Use getDeploymentModule() instead.
|
protected Platform |
getPlatform() |
protected ArchiveProfile |
getProfile() |
protected java.net.URL |
getTargetURL(DeployShell dsh) |
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
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 |
releaseState()
Release state and any resources its holding.
|
protected void |
removeStateChangeListeners()
Called when the last state change listener is unregistered into this Deployer.
|
void |
setDeploymentModule(DeploymentModule module,
DeployShell shell)
Deprecated.
|
protected void |
setDeploymentModuleURL(java.net.URL url,
DeployShell shell) |
protected void |
setJarUtil(oracle.jdevimpl.deploy.fwk.JarUtil jarUtil)
Deprecated.
|
getContext, getContext, getJarClassesDir, getProfile, getProfileContainer, processFileGroupsattachDisabledStateChangeListener, attachStateChangeListener, deploy, finish, fireStateChanged, fireStateInvalidated, fireStateReleased, prepare, stateLockObjectcancel, canDeploy, getName, getSequenceId, handleEvent, isDeploymentCancelled, throwExceptionIfCancelEventReceived, toStringprotected DeploymentModule _depMod
public ArchiveDeployer(int deploySequence,
DeployShell shell)
protected StatefulFileGroupsPackager createFileGroupsPackager(ArchiveProfile profile, Context context)
protected FileGroups getFileGroups(ArchiveProfile profile, Context context)
protected FileGroupsPackager getFileGroupsPackager()
protected Platform getPlatform()
protected ArchiveOptions getArchiveOptions()
protected StatefulDescriptorPackager[] createDescriptorPackagers(FileGroupsPackager fileGroupsPackager, Context context)
public void initializeState()
StatefulinitializeState in interface StatefulinitializeState in class AbstractStatefulDeployerpublic void invalidateState()
StatefulinvalidateState in interface StatefulinvalidateState in class AbstractStatefulDeployerpublic void releaseState()
StatefulreleaseState in interface StatefulreleaseState in class AbstractStatefulDeployerpublic void prepareImpl(int deploySequence,
DeployShell dsh)
throws DeployException
prepareImpl in class AbstractDeployerdeploySequence - dsh - DeployExceptionpublic void deployImpl(int deploySequence,
DeployShell dsh)
throws DeployException
deployImpl in class oracle.jdevimpl.deploy.common.ProfileDeployerdeploySequence - dsh - DeployExceptionpublic void finishImpl(int deploySequence,
DeployShell dsh)
finishImpl in class AbstractDeployerdeploySequence - dsh - public void cancelImpl(int deploySequence,
DeployShell dsh)
cancelImpl in class AbstractDeployerprotected java.net.URL getTargetURL(DeployShell dsh) throws DeployException
DeployException@Deprecated public oracle.jdevimpl.deploy.fwk.JarUtil getJarUtil()
@Deprecated public DefaultArchive getArchive()
@Deprecated protected void setJarUtil(oracle.jdevimpl.deploy.fwk.JarUtil jarUtil)
@Deprecated public DeploymentModule getDeploymentModule(DeployShell shell)
public DeploymentModule getDeploymentModule()
@Deprecated public void setDeploymentModule(DeploymentModule module, DeployShell shell)
protected ArchiveProfile getProfile()
getProfile in class oracle.jdevimpl.deploy.common.ProfileDeployer@Deprecated
protected void logFileWritten(java.io.PrintWriter log,
java.lang.String jarPath)
protected void logFileWritten(java.util.logging.Logger logger,
java.net.URL jarURL)
@Deprecated
protected void logFileUpToDate(java.io.PrintWriter log,
java.lang.String jarPath)
protected void setDeploymentModuleURL(java.net.URL url,
DeployShell shell)
throws DeployException
DeployExceptionpublic static ArchiveEntry createArchiveEntry(NodeDependable nodeDependable, java.lang.String prefix)
nodeDependable - prefix - if supplied, prefix + filename = entryName.public static ArchiveEntry createArchiveEntry(ProfileDependable profileDependable, java.lang.String prefix)
profileDependable - prefix - protected void maybeSetManifestClassPath(DeploymentModule archive, ArchiveProfile profile, DeployShell dsh)
protected void release(DeploymentModule depMod)
protected void addStateChangeListeners()
AbstractStatefulDeployeraddStateChangeListeners in class AbstractStatefulDeployerprotected void removeStateChangeListeners()
AbstractStatefulDeployerremoveStateChangeListeners in class AbstractStatefulDeployerprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable