oracle.jdeveloper.deploy.ear
Class EarProfile
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.jdeveloper.deploy.dt.DeployElement
oracle.jdeveloper.deploy.dt.Profile
oracle.jdeveloper.deploy.jar.ArchiveProfile
oracle.jdeveloper.deploy.j2ee.J2eeProfile
oracle.jdeveloper.deploy.ear.EarProfile
- All Implemented Interfaces:
- Displayable, Element, SubDirtyable, Subject, Dirtyable, Copyable, oracle.jdeveloper.deploy.common.ConnectionDefault, oracle.jdeveloper.deploy.common.Interdependency, Deployable, J2eePackaging, JarPackaging, LinkedDirtyable, PlatformDeployable, oracle.jdevimpl.deploy.JeeDeployable
public class EarProfile
- extends J2eeProfile
Class representing an EAR deployment profile.
Methods inherited from class oracle.jdeveloper.deploy.j2ee.J2eeProfile |
getDefaultConnection, getDeployClientMaxHeapSize, getDeployPlanUrl, getEarURL, getEnterpriseAppName, getPlatform, getProperties, getProperty, initTransientProfile, isTransientProfile, putProperty, removeProperty, setDefaultConnection, setDeployClientMaxHeapSize, setDeployPlanUrl, setEarURL, setEnterpriseAppName, setPlatform, setProperties, setTransientProfile |
Methods inherited from class oracle.jdeveloper.deploy.jar.ArchiveProfile |
addFileGroup, findLibraryFileGroup, findLibraryFileGroups, findPackagingFileGroup, findProjectFileGroup, getArchiveOptions, getCustomSummary, getFileGroups, getSelectedProjectFiles, newDefaultArchiveProfile, newDefaultArchiveProfile, newDefaultArchiveProfile, resolvesLibrary, selectLibraryForDeployment, setArchiveOptions, setFileGroups, showCustomSummary, showDeployJarAction, showJarSummary |
Methods inherited from class oracle.jdeveloper.deploy.dt.Profile |
addDependency, addDependency, addDependency, copyTo, copyToImpl, equalsImpl, getDataContainer, getDependencies, getHashStructure, getLibraryDependencies, getName, getParentProfileName, getProfileClass, getProfileNameFromRef, getShortLabel, getUnSelectedLibraryDependencies, isContainedProfile, migrate, removeDependency, removeDependency, resolveProfileDependencies, setContainedProfile, setDataContainer, setLibraryDependencies, setName, setProfileClass, setUnSelectedLibraryDependencies |
Methods inherited from class oracle.jdeveloper.deploy.dt.DeployElement |
attach, detach, getAttributes, getChildren, getData, getIcon, getLongLabel, getToolTipText, isDirty, linkContainingDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyables, markDirty, mayHaveChildren, notifyObservers, setOwner, toString, unlinkContainingDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyables |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jdeveloper.deploy.common.Interdependency |
addDependency, getDependencies, removeDependency |
Methods inherited from interface oracle.javatools.util.Copyable |
copyTo |
EarProfile
public EarProfile()
EarProfile
public EarProfile(HashStructure hash)
initArchiveProfile
protected void initArchiveProfile(java.lang.Class<? extends DataContainer> profileContainerClass)
- Overrides:
initArchiveProfile
in class ArchiveProfile
initTempEar
protected void initTempEar(java.net.URL jarURL)
- Overrides:
initTempEar
in class J2eeProfile
getJarURL
public java.net.URL getJarURL()
throws TransientMarker
- Description copied from interface:
JarPackaging
- Returns the
URL
that will be added to the class path
of a project that depends on this profile.
- Specified by:
getJarURL
in interface JarPackaging
- Overrides:
getJarURL
in class ArchiveProfile
- Throws:
TransientMarker
setJarURL
public void setJarURL(java.net.URL jarURL)
- Overrides:
setJarURL
in class ArchiveProfile
canPackage
public boolean canPackage(Element element)
- This indicates if a profile has the ability to package the element within it's own module. For
example, an EarProfile can package a WarProfile but a WarProfile cannot package another War Profile.
This method will be overridden in the WarProfile and EarProfile at minimum. This method is used
by the DependentLibrary resolvedBy criteria.
- Overrides:
canPackage
in class ArchiveProfile
getPackagingType
public final int getPackagingType()
- Description copied from interface:
J2eePackaging
- Returns one of the constants: J2EE_APPLICATION, EJB_MODULE,
WEB_MODULE, or CLIENT_MODULE.
- Specified by:
getPackagingType
in interface J2eePackaging
- Overrides:
getPackagingType
in class J2eeProfile
getDefaultLibraryFileGroupName
public java.lang.String getDefaultLibraryFileGroupName()
- Overrides:
getDefaultLibraryFileGroupName
in class Profile
getDefaultLibraryFileGroupTargetWithinJar
public java.lang.String getDefaultLibraryFileGroupTargetWithinJar()
- Overrides:
getDefaultLibraryFileGroupTargetWithinJar
in class Profile
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
isClasspathJar
public boolean isClasspathJar()
- Description copied from class:
ArchiveProfile
- Returns true if the deployed output of this profile can be used
as a JAR file on a classpath. Specialized JARs like WAR and EAR
files are examples of JAR files that cannot be used directly on
a classpath.
- Overrides:
isClasspathJar
in class ArchiveProfile
isApplicationLevel
public boolean isApplicationLevel()
equals
public boolean equals(java.lang.Object o)
- Description copied from class:
HashStructureAdapter
- Equals support. As long as the subclass stores all data in the
HashStructureAdapter._hash
, this base equals implementation should be
sufficient and not need to be overridden.
- Overrides:
equals
in class Profile
Copyright © 1997, 2011, Oracle. All rights reserved.