|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.portal.resolver.helper.DefaultDataSource com.ibm.portal.resolver.helper.EarlyBindingDataSource com.ibm.portal.resolver.helper.AbstractStaticDataSource
public class AbstractStaticDataSource
Base class for a DataSource
that does not depend on any other request
information than URI and parameter map.
This interface is designed to be implemented by clients. |
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.portal.resolver.data.CacheControlDataSource |
---|
CacheControlDataSource.CACHE_POLICY, CacheControlDataSource.CACHE_SCOPE |
Field Summary | |
---|---|
static java.util.Map<java.lang.String,java.lang.String[]> |
STATIC_DATA_SOURCE_PARAMETERS
Parameters that identify a data source that depends on no request headers and that is cacheable indefinitely. |
Fields inherited from interface com.ibm.portal.resolver.data.UserContextDataSource |
---|
USER_CONTEXT_UNKNOWN |
Fields inherited from interface com.ibm.portal.resolver.data.CacheControlDataSource |
---|
CACHE_CONTROL_EXTENSIONS_UNDEFINED |
Fields inherited from interface com.ibm.portal.resolver.data.VaryDataSource |
---|
NO_VARY_HEADERS, VARY_HEADERS_UNKNOWN |
Fields inherited from interface com.ibm.portal.resolver.data.ProjectContextDataSource |
---|
PROJECT_CONTEXT_UNKNOWN |
Fields inherited from interface com.ibm.portal.resolver.data.VirtualPortalContextDataSource |
---|
VIRTUAL_PORTAL_CONTEXT_UNKNOWN |
Fields inherited from interface com.ibm.portal.resolver.data.DataSource |
---|
CONTENT_TYPE_UNKNOWN, CREATION_UNKNOWN, EXPIRATION_UNKNOWN, LAST_MODIFICATION_UNKNOWN, MAX_AGE_INFINITE, MAX_AGE_NONE, ROOT_DATE |
Fields inherited from interface com.ibm.portal.resolver.data.Addressable |
---|
EMPTY_PARAMETERS |
Constructor Summary | |
---|---|
protected |
AbstractStaticDataSource()
Default constructor that initializes the data source to "public cacheable" |
Method Summary | |
---|---|
void |
clear()
Reset the object |
static java.util.Map<java.lang.String,java.lang.String[]> |
createStaticParameters()
Fill the parameter map to match the parameters of a static data source |
void |
dispose()
Indicate that the object will no longer be accessed |
static java.util.Map<java.lang.String,java.lang.String[]> |
setStaticParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters)
Fill the parameter map to match the parameters of a static data source |
Methods inherited from class com.ibm.portal.resolver.helper.EarlyBindingDataSource |
---|
getCacheControlExtensions, getCachePolicy, getCacheScope, getParameters, getVaryHeaders, isPrivate, isProjectDependent, isVirtualPortalDependent, setCacheControlExtensions, setCachePolicy, setCacheScope, setCreated, setExpires, setLastMod, setLastModified, setParameters, setPrivate, setProjectDependent, setUri, setURI, setVaryHeaders, setVirtualPortalDependent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.portal.resolver.data.CacheControlDataSource |
---|
getExpiration |
Methods inherited from interface com.ibm.portal.resolver.data.DataSource |
---|
getContentType, getCreated, getLastModified |
Methods inherited from interface com.ibm.portal.resolver.data.Addressable |
---|
getURI |
Field Detail |
---|
public static final java.util.Map<java.lang.String,java.lang.String[]> STATIC_DATA_SOURCE_PARAMETERS
Constructor Detail |
---|
protected AbstractStaticDataSource()
Method Detail |
---|
public static final java.util.Map<java.lang.String,java.lang.String[]> createStaticParameters()
public static final java.util.Map<java.lang.String,java.lang.String[]> setStaticParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters)
parameters
- the target parameterspublic void clear()
EarlyBindingDataSource
clear
in class EarlyBindingDataSource
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class EarlyBindingDataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |