Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.persistence
Class ApplicationCacheSettings

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.persistence.ApplicationCacheSettings


public final class ApplicationCacheSettings
extends HashStructureAdapter

Class that represents settings related to the application-level persistent storage area.

Since:
11.1.2.0.0

Field Summary
static java.lang.String APPLICATION_STORAGE_KEY
           

 

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

 

Method Summary
 java.net.URL getDefaultApplicationStorageURL()
           
static ApplicationCacheSettings getInstance(HashStructure hash, java.net.URL workspaceURL)
           
static ApplicationCacheSettings getInstance(PropertyStorage psWorkspace, java.net.URL workspaceURL)
           
static ApplicationCacheSettings getInstance(Workspace workspace)
          Returns a new ApplicationCacheSettings adapter for the specified Workspace.
 java.net.URL getOverrideApplicationStorageURL()
           
 java.net.URL getStorageURL()
          Returns the url for the application-level storage directory, which is the parent of the application-level .data directory used for caching.
 void setStorageURL(java.net.URL url)
          Set the application-level storage 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_STORAGE_KEY

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

Method Detail

getInstance

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

getInstance

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

getInstance

public static ApplicationCacheSettings getInstance(Workspace workspace)
Returns a new ApplicationCacheSettings adapter for the specified Workspace.
Parameters:
workspace - The workspace
Returns:
ApplicationCacheSettings

getStorageURL

public java.net.URL getStorageURL()
Returns the url for the application-level storage directory, which is the parent of the application-level .data directory used for caching.
Returns:
URL

setStorageURL

public void setStorageURL(java.net.URL url)
Set the application-level storage directory. The directory defaults to the parent of the .jws directory, unless the 'oracle.ide.persistence.defaultApplicationStorageArea' system property is set, in which case the respective path is used as the default.

getDefaultApplicationStorageURL

public java.net.URL getDefaultApplicationStorageURL()

getOverrideApplicationStorageURL

public java.net.URL getOverrideApplicationStorageURL()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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