public class RescatContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESCAT_CONTEXT_NAME
Name used to register the singleton instance with
RescatContextRegistry . |
Constructor and Description |
---|
RescatContext(ConnectionProviderInfo providerInfo)
Creates a RescatContext and initializes it based on parameters declared
via a connection-provider-hook in extension.xml
|
RescatContext(oracle.adf.rc.core.RCInstance rcInstance)
Creates a RescatContext and initializes it using the specified
RCInstance . |
RescatContext(oracle.adf.rc.core.RCInstance rcInstance,
java.lang.String label,
java.lang.String description)
Creates a RescatContext and initializes it using the specified
RCInstance . |
RescatContext(java.lang.String id,
java.lang.String label,
java.lang.String description,
WorkspaceConnectionProvider provider)
Creates a RescatContext and initializes it using the specified
.jdeveloper.connection.model.spi.WorkspaceConnectionProvider |
Modifier and Type | Method and Description |
---|---|
void |
cancelChanges() |
void |
flushChanges() |
oracle.adf.share.jndi.AdfJndiContext |
getConnectionContext() |
java.lang.String |
getDescription() |
java.lang.String |
getId() |
static RescatContext |
getInstance()
Deprecated.
|
java.util.Locale |
getLocale() |
java.lang.String |
getName() |
oracle.adf.rc.core.RCInstance |
getRcInstance() |
oracle.adf.rc.core.RCSession |
getRcSession() |
boolean |
hasChanges() |
boolean |
isForResourcePalette() |
boolean |
isPrimary() |
void |
setIsForResourcePalette(boolean isForPalette) |
public static final java.lang.String RESCAT_CONTEXT_NAME
RescatContextRegistry
.public RescatContext(oracle.adf.rc.core.RCInstance rcInstance)
RCInstance
.rcInstance
- the RCInstance to be used by this RescatContext.public RescatContext(oracle.adf.rc.core.RCInstance rcInstance, java.lang.String label, java.lang.String description)
RCInstance
.rcInstance
- the RCInstance to be used by this RescatContext.public RescatContext(ConnectionProviderInfo providerInfo) throws oracle.adf.rc.exception.CatalogException
providerInfo
- a connection provider defined via the
connection-context-provider-hookoracle.adf.rc.exception.CatalogException
- if an exception occurs instantiating the
context provider or initializing the RescatContext.public RescatContext(java.lang.String id, java.lang.String label, java.lang.String description, WorkspaceConnectionProvider provider) throws oracle.adf.rc.exception.CatalogException
.jdeveloper.connection.model.spi.WorkspaceConnectionProvider
provider
- a WorkspaceConnectionProvider
via the connection-context-provider-hookoracle.adf.rc.exception.CatalogException
- if an exception occurs instantiating the
context provider or initializing the RescatContext.@Deprecated public static RescatContext getInstance()
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getDescription()
public oracle.adf.rc.core.RCInstance getRcInstance()
public oracle.adf.rc.core.RCSession getRcSession()
public java.util.Locale getLocale()
public oracle.adf.share.jndi.AdfJndiContext getConnectionContext()
public boolean hasChanges()
public void flushChanges()
public void cancelChanges()
public boolean isForResourcePalette()
public boolean isPrimary()
public void setIsForResourcePalette(boolean isForPalette)