oracle.portal.provider.v2
Class ProviderContext
java.lang.Object
|
+--oracle.portal.provider.v2.ProviderContext
- Direct Known Subclasses:
- ServletProviderContext
- public abstract class ProviderContext
- extends java.lang.Object
|
Constructor Summary |
ProviderContext(java.lang.String repositoryPath,
int debugLevel,
boolean test)
Creates instance of ProviderContext. |
ProviderContext(java.lang.String repositoryPath,
int debugLevel,
boolean test,
java.lang.String testPageURI)
Creates instance of ProviderContext. |
ProviderContext(java.lang.String repositoryPath,
int debugLevel,
boolean test,
java.lang.String testPageURI,
java.util.Map attributes)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROVIDER_SERVICE_CLASS
public static final java.lang.String PROVIDER_SERVICE_CLASS
PROVIDER_LOADER_CLASS
public static final java.lang.String PROVIDER_LOADER_CLASS
SHOW_TEST_PAGE
public static final java.lang.String SHOW_TEST_PAGE
PROVIDER_DEFINITION
public static final java.lang.String PROVIDER_DEFINITION
AUTO_RELOAD
public static final java.lang.String AUTO_RELOAD
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
DEBUG_LEVEL
public static final java.lang.String DEBUG_LEVEL
REPOSITORY_PATH
public static final java.lang.String REPOSITORY_PATH
TEST_PAGE_URI
public static final java.lang.String TEST_PAGE_URI
ProviderContext
public ProviderContext(java.lang.String repositoryPath,
int debugLevel,
boolean test)
- Creates instance of ProviderContext.
- Parameters:
repositoryPath - debugLevel - test - Whether TestPage for the provider enabled
ProviderContext
public ProviderContext(java.lang.String repositoryPath,
int debugLevel,
boolean test,
java.lang.String testPageURI)
- Creates instance of ProviderContext.
- Parameters:
repositoryPath - debugLevel - test - Whether TestPage for the provider enabledtestPageURI - URI to provider's test page if provider is not defaulting
to default test page.
ProviderContext
public ProviderContext(java.lang.String repositoryPath,
int debugLevel,
boolean test,
java.lang.String testPageURI,
java.util.Map attributes)
setAttribute
public void setAttribute(java.lang.String key,
java.lang.Object value)
throws java.lang.IllegalStateException
getRepositoryPath
public java.lang.String getRepositoryPath()
getDebugLevel
public int getDebugLevel()
isTestPageOn
public boolean isTestPageOn()
getTestPageURI
public java.lang.String getTestPageURI()
- To Get the Test Page name in case Provider is not defaulting to
Default Test Page.
- Returns:
- Test Page Name
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Returns the attribute that corresponds with the supplied name.
- Parameters:
name - The name of the attribute you would like to retrieve.- Returns:
- A String representing the attribute that corresponds with the
supplied name.
getAttributeNames
public java.util.Set getAttributeNames()
- Returns all of the names of the attributes sored in this
ProviderContext.
- Returns:
- A
Set containing the names of the attributes
found in this ProviderContext.
getServiceName
public java.lang.String getServiceName()
- Returns the service name for the current provider.
- Returns:
- A String representing the current provider's service name.
lockDown
public boolean lockDown()
isInvalidationCachingEnabled
public abstract boolean isInvalidationCachingEnabled()
Copyright (c) 2002, Oracle Corporation. All Rights Reserved.