oracle.jdeveloper.deploy.j2ee
Class J2eeProfile
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
- 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
 
- Direct Known Subclasses: 
 - ClientProfile, ConnectorProfile, EarProfile, EjbProfile, WarProfile
 
public abstract class J2eeProfile
- extends ArchiveProfile
- implements J2eePackaging
  
 
 
 
 
 
 
 
| Methods inherited from class oracle.jdeveloper.deploy.jar.ArchiveProfile | 
addFileGroup, canPackage, findLibraryFileGroup, findLibraryFileGroups, findPackagingFileGroup, findProjectFileGroup, getArchiveOptions, getFileGroups, getJarURL, getSelectedProjectFiles, initArchiveProfile, isClasspathJar, newDefaultArchiveProfile, newDefaultArchiveProfile, newDefaultArchiveProfile, resolvesLibrary, selectLibraryForDeployment, setArchiveOptions, setFileGroups, setJarURL | 
 
| Methods inherited from class oracle.jdeveloper.deploy.dt.Profile | 
addDependency, addDependency, addDependency, copyTo, copyToImpl, equals, equalsImpl, getDataContainer, getDefaultLibraryFileGroupName, getDefaultLibraryFileGroupTargetWithinJar, 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 | 
 
ACTION_DEPLOY_TO_NEW_CONNECTION
public static final java.lang.String ACTION_DEPLOY_TO_NEW_CONNECTION
- See Also:
 - Constant Field Values
 
ACTION_DEPLOY_TO_MOST_RECENT
public static final java.lang.String ACTION_DEPLOY_TO_MOST_RECENT
- See Also:
 - Constant Field Values
 
ACTION_DEPLOY_PREBUILT_TO_REMOTE
public static final java.lang.String ACTION_DEPLOY_PREBUILT_TO_REMOTE
- See Also:
 - Constant Field Values
 
ACTION_DEPLOY_TO_EAR_FILE
public static final java.lang.String ACTION_DEPLOY_TO_EAR_FILE
- See Also:
 - Constant Field Values
 
ACTION_REDEPLOY
public static final java.lang.String ACTION_REDEPLOY
- See Also:
 - Constant Field Values
 
J2eeProfile
public J2eeProfile()
J2eeProfile
public J2eeProfile(HashStructure hash)
initTransientProfile
public void initTransientProfile(java.net.URL jarURL,
                                 java.lang.String enterpriseAppName,
                                 java.io.PrintWriter printWriter)
                          throws DeployException
 
- Throws:
 DeployException
 
initTempEar
protected void initTempEar(java.net.URL jarURL)
                    throws java.io.IOException
 
- Throws:
 java.io.IOException
 
getDefaultConnection
public java.lang.String getDefaultConnection()
- Specified by:
 getDefaultConnection in interface oracle.jdeveloper.deploy.common.ConnectionDefault
 
 
setDefaultConnection
public void setDefaultConnection(java.lang.String defaultConnection)
- Specified by:
 setDefaultConnection in interface oracle.jdeveloper.deploy.common.ConnectionDefault
 
 
getEarURL
public java.net.URL getEarURL()
- Specified by:
 getEarURL in interface J2eePackaging
 
 
setEarURL
public void setEarURL(java.net.URL earURL)
- Specified by:
 setEarURL in interface J2eePackaging
 
 
getEnterpriseAppName
public java.lang.String getEnterpriseAppName()
- Specified by:
 getEnterpriseAppName in interface oracle.jdevimpl.deploy.JeeDeployable
 
 
setEnterpriseAppName
public void setEnterpriseAppName(java.lang.String enterpriseAppName)
 
 
getDeployClientMaxHeapSize
public java.lang.Integer getDeployClientMaxHeapSize()
- Specified by:
 getDeployClientMaxHeapSize in interface J2eePackaging
 
 
setDeployClientMaxHeapSize
public void setDeployClientMaxHeapSize(java.lang.Integer deployClientMaxHeapSize)
- Specified by:
 setDeployClientMaxHeapSize in interface J2eePackaging
 
 
getDeployPlanUrl
public java.net.URL getDeployPlanUrl()
 
 
setDeployPlanUrl
public void setDeployPlanUrl(java.net.URL deployPlanUrl)
 
 
getProperties
public java.util.Map getProperties()
- Specified by:
 getProperties in interface J2eePackaging
 
 
setProperties
public void setProperties(java.util.Map properties)
- Specified by:
 setProperties in interface J2eePackaging
 
 
getProperty
public java.lang.String getProperty(java.lang.String name)
- Specified by:
 getProperty in interface J2eePackaging
 
 
putProperty
public java.lang.String putProperty(java.lang.String name,
                                    java.lang.String value)
- Specified by:
 putProperty in interface J2eePackaging
 
- Returns:
 - the previous value of the property, or null of no value
  was associated.  A null value could also mean that the previous
  value was null.
 
 
removeProperty
public java.lang.String removeProperty(java.lang.String name)
- Specified by:
 removeProperty in interface J2eePackaging
 
- Returns:
 - the previous value of the property, or null of no value
  was associated.  A null value could also mean that the previous
  value was null.
 
 
isTransientProfile
public boolean isTransientProfile()
                           throws TransientMarker
- Specified by:
 isTransientProfile in interface J2eePackaging
 
- Throws:
 TransientMarker
 
setTransientProfile
public void setTransientProfile(boolean transientProfile)
- Specified by:
 setTransientProfile in interface J2eePackaging
 
 
getPackagingType
public 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
 
 
 
getPlatform
public oracle.jdeveloper.deploy.meta.Platform getPlatform()
- Description copied from interface: 
PlatformDeployable 
- Returns the Platform to which this object can be deployed.
- Specified by:
 getPlatform in interface PlatformDeployable
 
- Returns:
 - a Platform object. May be null if a platform has not been set yet.
 
 
 
setPlatform
public void setPlatform(oracle.jdeveloper.deploy.meta.Platform defaultPlatform)
- Description copied from interface: 
PlatformDeployable 
- Sets the Platform to which this object can be deployed
- Specified by:
 setPlatform in interface PlatformDeployable
 
- Parameters:
 defaultPlatform - should be a reference to an instance returned from the
 PlatformRegistry.
 
 
Copyright © 1997, 2009, Oracle. All rights reserved.