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

E13403-05

oracle.jdeveloper.deploy.j2ee
Class J2eeProfile

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.deploy.dt.DeployElement
          extended by oracle.jdeveloper.deploy.dt.Profile
              extended by oracle.jdeveloper.deploy.jar.ArchiveProfile
                  extended by 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


Field Summary
static java.lang.String ACTION_DEPLOY_PREBUILT_TO_REMOTE
           
static java.lang.String ACTION_DEPLOY_TO_EAR_FILE
           
static java.lang.String ACTION_DEPLOY_TO_MOST_RECENT
           
static java.lang.String ACTION_DEPLOY_TO_NEW_CONNECTION
           
static java.lang.String ACTION_REDEPLOY
           
 
Fields inherited from class oracle.jdeveloper.deploy.jar.ArchiveProfile
ACTION_DEPLOY_TO_JAR_FILE, ACTION_PREVIEW, ACTION_SETTINGS_DIALOG
 
Fields inherited from class oracle.jdeveloper.deploy.dt.Profile
_dataContainer, _dependableContainer, PROFILE_CLASS_NAME, PROFILE_DEPENDENCIES, PROFILE_NAME
 
Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash
 
Fields inherited from interface oracle.jdeveloper.deploy.j2ee.J2eePackaging
CLIENT_MODULE, CONNECTOR_MODULE, EJB_MODULE, J2EE_APPLICATION, METADATA_MODULE, NONE, OAR_MODULE, SAR_MODULE, WEB_MODULE
 
Constructor Summary
J2eeProfile()
           
J2eeProfile(HashStructure hash)
           
 
Method Summary
 java.lang.String getDefaultConnection()
           
 java.lang.Integer getDeployClientMaxHeapSize()
           
 java.net.URL getDeployPlanUrl()
           
 java.net.URL getEarURL()
           
 java.lang.String getEnterpriseAppName()
           
 int getPackagingType()
          Returns one of the constants: J2EE_APPLICATION, EJB_MODULE, WEB_MODULE, or CLIENT_MODULE.
 oracle.jdeveloper.deploy.meta.Platform getPlatform()
          Returns the Platform to which this object can be deployed.
 java.util.Map getProperties()
           
 java.lang.String getProperty(java.lang.String name)
           
protected  void initTempEar(java.net.URL jarURL)
           
 void initTransientProfile(java.net.URL jarURL, java.lang.String enterpriseAppName, java.io.PrintWriter printWriter)
           
 boolean isTransientProfile()
           
 java.lang.String putProperty(java.lang.String name, java.lang.String value)
           
 java.lang.String removeProperty(java.lang.String name)
           
 void setDefaultConnection(java.lang.String defaultConnection)
           
 void setDeployClientMaxHeapSize(java.lang.Integer deployClientMaxHeapSize)
           
 void setDeployPlanUrl(java.net.URL deployPlanUrl)
           
 void setEarURL(java.net.URL earURL)
           
 void setEnterpriseAppName(java.lang.String enterpriseAppName)
           
 void setPlatform(oracle.jdeveloper.deploy.meta.Platform defaultPlatform)
          Sets the Platform to which this object can be deployed
 void setProperties(java.util.Map properties)
           
 void setTransientProfile(boolean transientProfile)
           
 
Methods inherited from class oracle.jdeveloper.deploy.jar.ArchiveProfile
addFileGroup, canPackage, findLibraryFileGroup, findLibraryFileGroups, findPackagingFileGroup, findProjectFileGroup, getArchiveOptions, getCustomSummary, getFileGroups, getJarURL, getSelectedProjectFiles, initArchiveProfile, isClasspathJar, newDefaultArchiveProfile, newDefaultArchiveProfile, newDefaultArchiveProfile, resolvesLibrary, selectLibraryForDeployment, setArchiveOptions, setFileGroups, setJarURL, showCustomSummary, showDeployJarAction, showJarSummary
 
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 oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, removeStructureChangeListener, useObjectEquals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.jdeveloper.deploy.j2ee.J2eePackaging
setArchiveOptions
 
Methods inherited from interface oracle.jdeveloper.deploy.jar.JarPackaging
getArchiveOptions, getFileGroups, getJarURL
 
Methods inherited from interface oracle.jdeveloper.deploy.common.Interdependency
addDependency, getDependencies, removeDependency
 
Methods inherited from interface oracle.javatools.util.Copyable
copyTo
 

Field Detail

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
Constructor Detail

J2eeProfile

public J2eeProfile()

J2eeProfile

public J2eeProfile(HashStructure hash)
Method Detail

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.

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

E13403-05

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