Skip navigation links

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

E13403-06


oracle.jdeveloper.model
Class ApplicationContent

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.model.ApplicationContent


public final class ApplicationContent
extends HashStructureAdapter

Class that represents certain parts of Application content, such as the application-level ADF META-INF directory.


Field Summary
static java.lang.String APPLICATION_PACKAGE_PREFIX_KEY
           
static java.lang.String APPLICATION_SOURCE_KEY
           

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Method Summary
 java.net.URL getADFMetaInfURL()
          Returns the url for the ADF META-INF directory.
 java.net.URL getADFSourceURL()
          Returns the url for the ".adf" directory for this application.
 java.net.URL getApplicationMetaInfURL()
          Returns the url for the application-level META-INF directory.
 java.lang.String getAppPackagePrefix()
           
 java.util.Iterator getDescriptors()
          Gets an iterator for the application-level deployment descriptors.
 java.util.Iterator getDescriptors(java.net.URL url)
          Gets an iterator for the deployment descriptors at the specified url.
static ApplicationContent getInstance(HashStructure hash, java.net.URL workspaceURL)
           
static ApplicationContent getInstance(PropertyStorage psWorkspace, java.net.URL workspaceURL)
           
static ApplicationContent getInstance(Workspace workspace)
          Returns a new ApplicationContent adapter for the specified Workspace.
 java.net.URL getMetaInfURL()
          Returns the url for the ADF META-INF directory.
 java.net.URL getSourceURL()
          Returns the url for the application-level source directory, which is the parent of the application-level META-INF directory (not to be confused with the ADF META-INF directory).
 void setAppPackagePrefix(java.lang.String prefix)
           
 void setSourceURL(java.net.URL url)
          Set the application-level source directory.

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

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

 

Field Detail

APPLICATION_SOURCE_KEY

public static final java.lang.String APPLICATION_SOURCE_KEY
See Also:
Constant Field Values

APPLICATION_PACKAGE_PREFIX_KEY

public static final java.lang.String APPLICATION_PACKAGE_PREFIX_KEY
See Also:
Constant Field Values

Method Detail

getInstance

public static ApplicationContent getInstance(PropertyStorage psWorkspace,
                                             java.net.URL workspaceURL)

getInstance

public static ApplicationContent getInstance(HashStructure hash,
                                             java.net.URL workspaceURL)

getInstance

public static ApplicationContent getInstance(Workspace workspace)
Returns a new ApplicationContent adapter for the specified Workspace.
Parameters:
workspace - The workspace whose META-INF directory is needed.
Returns:
ApplicationContent

getMetaInfURL

public java.net.URL getMetaInfURL()
Returns the url for the ADF META-INF directory.
Returns:
URL

getADFMetaInfURL

public java.net.URL getADFMetaInfURL()
Returns the url for the ADF META-INF directory. Equivalent to the getMetaInfURL method, the name of which has become ambiguous.
Returns:
URL

getADFSourceURL

public java.net.URL getADFSourceURL()
Returns the url for the ".adf" directory for this application. The default name is ".adf" but the actual name may be different if the user changes it, or if multiple .jws files are created in the same directory.
Returns:
URL

getSourceURL

public java.net.URL getSourceURL()
Returns the url for the application-level source directory, which is the parent of the application-level META-INF directory (not to be confused with the ADF META-INF directory). The default name of the application source directory is "src".
Returns:
URL

setSourceURL

public void setSourceURL(java.net.URL url)
Set the application-level source directory. The directory defaults to src under the .jws directory, but might have to be changed by the user if multiple .jws files are to coexist in the same directory.

getApplicationMetaInfURL

public java.net.URL getApplicationMetaInfURL()
Returns the url for the application-level META-INF directory. The default location is src\META-INF under the application home directory.
Returns:
URL

getAppPackagePrefix

public java.lang.String getAppPackagePrefix()

setAppPackagePrefix

public void setAppPackagePrefix(java.lang.String prefix)

getDescriptors

public java.util.Iterator getDescriptors()
Gets an iterator for the application-level deployment descriptors.
Returns:
an Iterator that returns Node objects

getDescriptors

public java.util.Iterator getDescriptors(java.net.URL url)
Gets an iterator for the deployment descriptors at the specified url.
Returns:
an Iterator that returns Node objects

Skip navigation links

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

E13403-06


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