|
Project Wonder 5.0.0.8794 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webobjects.appserver.WOResourceManager
er.extensions.appserver.ERXResourceManager
public class ERXResourceManager
Replacement of the WOResourceManager which adds:
| Properties | |
er.extensions.ERXResourceManager.versionManager | the class name of the version manager to use (or "default", or "properties") |
| Nested Class Summary | |
|---|---|
static class |
ERXResourceManager.DefaultVersionManager
DefaultVersionManager just returns the resourceUrl unmodified. |
static interface |
ERXResourceManager.IVersionManager
IVersionManager provides an interface for adding version numbers to WebServerResources. |
static class |
ERXResourceManager.PropertiesVersionManager
PropertiesVersionManager provides the ability to control resource version numbers with Properties settings, and appends the query parameter "?xxx" to WebServerResource URLs. |
| Constructor Summary | |
|---|---|
protected |
ERXResourceManager()
|
| Method Summary | |
|---|---|
com.webobjects.appserver._private.WOURLValuedElementData |
_cachedDataForKey(String key)
|
static String |
_completeURLForResource(String url,
Boolean secure,
WOContext context)
Returns a fully qualified URL for the given partial resource URL (i.e. |
static boolean |
_shouldGenerateCompleteResourceURL(WOContext context)
Returns whether or not complete resource URLs should be generated. |
protected com.webobjects.appserver._private.WOURLValuedElementData |
cacheDataIfNotInCache(String key)
|
void |
setVersionManager(ERXResourceManager.IVersionManager versionManager)
Sets the version manager to use for this resource manager. |
String |
urlForResourceNamed(String name,
String bundleName,
NSArray languages,
WORequest request)
|
ERXResourceManager.IVersionManager |
versionManager()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ERXResourceManager()
| Method Detail |
|---|
public void setVersionManager(ERXResourceManager.IVersionManager versionManager)
versionManager - the version manager to use for this resource managerpublic ERXResourceManager.IVersionManager versionManager()
public String urlForResourceNamed(String name,
String bundleName,
NSArray languages,
WORequest request)
urlForResourceNamed in class WOResourceManagerprotected com.webobjects.appserver._private.WOURLValuedElementData cacheDataIfNotInCache(String key)
public com.webobjects.appserver._private.WOURLValuedElementData _cachedDataForKey(String key)
_cachedDataForKey in class WOResourceManagerpublic static boolean _shouldGenerateCompleteResourceURL(WOContext context)
context - the context
public static String _completeURLForResource(String url,
Boolean secure,
WOContext context)
url - the partial resource URLsecure - whether or not to generate a secure URLcontext - the current context
|
Last updated: Thu, Jan 8, 2009 12:32 PM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||