Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.jbo
Class ApplicationPoolSvcMsgContext

java.lang.Object
  extended by oracle.jbo.ApplicationPoolSvcMsgContext
All Implemented Interfaces:
java.io.Serializable

public class ApplicationPoolSvcMsgContext
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static byte JDBC_DATASOURCE_CONNECTION_TYPE
           
static byte JDBC_NULL_CONNECTION_TYPE
           
static byte JDBC_URL_CONNECTION_TYPE
           
static byte MESSAGE_TYPE_RECYCLING
           
static byte MESSAGE_TYPE_RELEASING
           
static byte MESSAGE_TYPE_REMOVING
           
static byte MESSAGE_TYPE_USING
           
static int POOL_EVENT_ACTIVATE
           
static int POOL_EVENT_AMSTATS_UPDATE
           
static int POOL_EVENT_CONNECT
           
static int POOL_EVENT_DISCONNECT_FAILOVER
           
static int POOL_EVENT_FAILOVER
           
static int POOL_EVENT_PREPARE_SESSION
           
static int POOL_EVENT_REMOVE
           
static int POOL_EVENT_RESERVE_PASSIVATION_ID
           
static int POOL_REQ_ACTIVATE_STATE
           
static int POOL_REQ_ATTACH_LWS
           
static int POOL_REQ_CONNECT
           
static int POOL_REQ_DETACH_LWS
           
static int POOL_REQ_DISCONNECT
           
static int POOL_REQ_GET_AM_STATS
           
static int POOL_REQ_HINT_PREPARE_SESSION
           
static int POOL_REQ_PASSIVATE_STATE
           
static int POOL_REQ_PREPARE_SESSION
           
static int POOL_REQ_RECONNECT
           
static int POOL_REQ_REMOVE
           
static int POOL_REQ_REMOVE_STATE
           
static int POOL_REQ_RESERVE_PASSIVATION_ID
           
static int POOL_REQ_RESET_STATE
           
static int POOL_REQ_SET_BUNDLED_EXCEPTION_MODE
           
static int STATUS_AUTH_ERROR
           
static int STATUS_CONNECT_ERROR
           
static int STATUS_INITIALIZED
           
static int STATUS_MT_ERROR
           
static int STATUS_SUCCESS
           
 
Constructor Summary
ApplicationPoolSvcMsgContext(byte messageType)
           
 
Method Summary
 void activateState(int id, SessionData info, int flags)
           
 void addRtnEvent(int eventId)
           
 void attachToLightweightSession()
           
 void connect()
           
 void detachFromLightweightSession()
           
 void disconnect(boolean retainState)
           
 JboException getAuthException()
           
 boolean getBoundToWorkingSet()
           
 boolean getIgnorePiggyback()
           
 int getJDBCConnectCount()
           
 java.lang.Throwable getJDBCConnectException()
           
 byte getJDBCConnectionType()
           
 java.lang.String getJDBCConnectString()
           
 java.lang.String getJDBCDataSourceName()
           
 java.lang.String getJDBCDataSourcePassword()
           
 java.lang.String getJDBCDataSourceUser()
           
 java.util.Properties getJDBCProperties()
           
 long getMessageId()
           
 byte getMessageType()
           
 int getRefCount()
           
 SvcMsgRequestParams getRequest()
           
 int getRequestPointer()
           
 AMStatistics getRtnAMStatistics()
           
 byte[] getRtnClientData()
           
 ConnectionMetadata getRtnConnectionMetadata()
           
 java.util.ArrayList getRtnEventList()
           
 int getRtnMostRecentStackId()
           
 int getRtnPassivationId()
           
 int getRtnReservedPassivationId()
           
 SessionData getRtnSessionData()
           
 SessionCookie getSessionCookie()
           
 void getStatistics()
           
 int getStatus()
           
 void hintPrepareSession(SessionData info, ConnectionMetadata md)
           
 void incrementJDBCConnectCount()
           
 void incrementRequestPointer()
           
 boolean isApplicationModuleConnected()
           
 boolean isApplicationModuleRemoved()
           
 boolean isRetainState()
           
 boolean isUseExclusive()
           
 void passivateState(int id, byte[] clientData, int flags)
           
 void prepareSession(SessionData info)
           
 void reconnect()
           
 void removeApplicationModule()
           
 void removeState(int id)
           
 void replaceRtnEvent(int eventIndex, int eventId)
           
 void reservePassivationId()
           
 void resetRequestPointer()
           
 void resetRequestPointer(int requestPointer)
           
 void resetState(int flags)
           
 void setApplicationModuleConnected(boolean connected)
           
 void setApplicationModuleRemoved(boolean removed)
           
 void setAuthException(JboException ex)
           
 void setBoundToWorkingSet(boolean boundToWorkingSet)
           
 void setBundledExceptionMode(boolean bundledExceptionMode)
           
 void setIgnorePiggyback(boolean ignorePiggyback)
           
 void setJDBCConnectException(java.lang.Throwable ex)
           
 void setJDBCConnectionType(byte jdbcConnectionType)
           
 void setJDBCConnectString(java.lang.String jdbcConnectString)
           
 void setJDBCDataSourceName(java.lang.String jdbcDataSourceName)
           
 void setJDBCDataSourcePassword(java.lang.String jdbcDataSourcePassword)
           
 void setJDBCDataSourceUser(java.lang.String jdbcDataSourceUser)
           
 void setJDBCProperties(java.util.Properties jdbcProperties)
           
 void setMessageId(long id)
           
 void setRefCount(int count)
           
 void setRetainState(boolean isRetainState)
           
 void setRtnAMStatistics(AMStatistics stats)
           
 void setRtnClientData(byte[] clientData)
           
 void setRtnConnectionMetadata(ConnectionMetadata connectionMetadata)
           
 void setRtnMostRecentStackId(int mostRecentStackId)
           
 void setRtnPassivationId(int psId)
           
 void setRtnReservedPassivationId(int psId)
           
 void setRtnSessionData(SessionData sessionData)
           
 void setSessionCookie(SessionCookie sessionCookie)
           
 void setStatus(int status)
           
 void setUseExclusive(boolean isUseExclusive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDBC_DATASOURCE_CONNECTION_TYPE

public static final byte JDBC_DATASOURCE_CONNECTION_TYPE
See Also:
Constant Field Values

JDBC_URL_CONNECTION_TYPE

public static final byte JDBC_URL_CONNECTION_TYPE
See Also:
Constant Field Values

JDBC_NULL_CONNECTION_TYPE

public static final byte JDBC_NULL_CONNECTION_TYPE
See Also:
Constant Field Values

STATUS_INITIALIZED

public static final int STATUS_INITIALIZED
See Also:
Constant Field Values

STATUS_CONNECT_ERROR

public static final int STATUS_CONNECT_ERROR
See Also:
Constant Field Values

STATUS_MT_ERROR

public static final int STATUS_MT_ERROR
See Also:
Constant Field Values

STATUS_SUCCESS

public static final int STATUS_SUCCESS
See Also:
Constant Field Values

STATUS_AUTH_ERROR

public static final int STATUS_AUTH_ERROR
See Also:
Constant Field Values

MESSAGE_TYPE_USING

public static final byte MESSAGE_TYPE_USING
See Also:
Constant Field Values

MESSAGE_TYPE_RELEASING

public static final byte MESSAGE_TYPE_RELEASING
See Also:
Constant Field Values

MESSAGE_TYPE_REMOVING

public static final byte MESSAGE_TYPE_REMOVING
See Also:
Constant Field Values

MESSAGE_TYPE_RECYCLING

public static final byte MESSAGE_TYPE_RECYCLING
See Also:
Constant Field Values

POOL_REQ_PASSIVATE_STATE

public static final int POOL_REQ_PASSIVATE_STATE
See Also:
Constant Field Values

POOL_REQ_ACTIVATE_STATE

public static final int POOL_REQ_ACTIVATE_STATE
See Also:
Constant Field Values

POOL_REQ_REMOVE_STATE

public static final int POOL_REQ_REMOVE_STATE
See Also:
Constant Field Values

POOL_REQ_RESET_STATE

public static final int POOL_REQ_RESET_STATE
See Also:
Constant Field Values

POOL_REQ_PREPARE_SESSION

public static final int POOL_REQ_PREPARE_SESSION
See Also:
Constant Field Values

POOL_REQ_HINT_PREPARE_SESSION

public static final int POOL_REQ_HINT_PREPARE_SESSION
See Also:
Constant Field Values

POOL_REQ_CONNECT

public static final int POOL_REQ_CONNECT
See Also:
Constant Field Values

POOL_REQ_DISCONNECT

public static final int POOL_REQ_DISCONNECT
See Also:
Constant Field Values

POOL_REQ_RECONNECT

public static final int POOL_REQ_RECONNECT
See Also:
Constant Field Values

POOL_REQ_REMOVE

public static final int POOL_REQ_REMOVE
See Also:
Constant Field Values

POOL_REQ_RESERVE_PASSIVATION_ID

public static final int POOL_REQ_RESERVE_PASSIVATION_ID
See Also:
Constant Field Values

POOL_REQ_SET_BUNDLED_EXCEPTION_MODE

public static final int POOL_REQ_SET_BUNDLED_EXCEPTION_MODE
See Also:
Constant Field Values

POOL_REQ_GET_AM_STATS

public static final int POOL_REQ_GET_AM_STATS
See Also:
Constant Field Values

POOL_REQ_ATTACH_LWS

public static final int POOL_REQ_ATTACH_LWS
See Also:
Constant Field Values

POOL_REQ_DETACH_LWS

public static final int POOL_REQ_DETACH_LWS
See Also:
Constant Field Values

POOL_EVENT_CONNECT

public static final int POOL_EVENT_CONNECT
See Also:
Constant Field Values

POOL_EVENT_FAILOVER

public static final int POOL_EVENT_FAILOVER
See Also:
Constant Field Values

POOL_EVENT_DISCONNECT_FAILOVER

public static final int POOL_EVENT_DISCONNECT_FAILOVER
See Also:
Constant Field Values

POOL_EVENT_PREPARE_SESSION

public static final int POOL_EVENT_PREPARE_SESSION
See Also:
Constant Field Values

POOL_EVENT_REMOVE

public static final int POOL_EVENT_REMOVE
See Also:
Constant Field Values

POOL_EVENT_ACTIVATE

public static final int POOL_EVENT_ACTIVATE
See Also:
Constant Field Values

POOL_EVENT_RESERVE_PASSIVATION_ID

public static final int POOL_EVENT_RESERVE_PASSIVATION_ID
See Also:
Constant Field Values

POOL_EVENT_AMSTATS_UPDATE

public static final int POOL_EVENT_AMSTATS_UPDATE
See Also:
Constant Field Values
Constructor Detail

ApplicationPoolSvcMsgContext

public ApplicationPoolSvcMsgContext(byte messageType)
Method Detail

getMessageType

public byte getMessageType()

getRequest

public final SvcMsgRequestParams getRequest()

incrementRequestPointer

public final void incrementRequestPointer()

resetRequestPointer

public final void resetRequestPointer()

resetRequestPointer

public final void resetRequestPointer(int requestPointer)

getRequestPointer

public final int getRequestPointer()

getStatus

public final int getStatus()

setStatus

public final void setStatus(int status)

addRtnEvent

public final void addRtnEvent(int eventId)

replaceRtnEvent

public final void replaceRtnEvent(int eventIndex,
                                  int eventId)

getRtnEventList

public final java.util.ArrayList getRtnEventList()

incrementJDBCConnectCount

public final void incrementJDBCConnectCount()

getJDBCConnectCount

public final int getJDBCConnectCount()

getJDBCConnectionType

public final byte getJDBCConnectionType()

setJDBCConnectionType

public final void setJDBCConnectionType(byte jdbcConnectionType)

setJDBCDataSourceName

public final void setJDBCDataSourceName(java.lang.String jdbcDataSourceName)

getJDBCDataSourceName

public final java.lang.String getJDBCDataSourceName()

setJDBCDataSourceUser

public final void setJDBCDataSourceUser(java.lang.String jdbcDataSourceUser)

getJDBCDataSourceUser

public final java.lang.String getJDBCDataSourceUser()

setJDBCDataSourcePassword

public final void setJDBCDataSourcePassword(java.lang.String jdbcDataSourcePassword)

getJDBCDataSourcePassword

public final java.lang.String getJDBCDataSourcePassword()

getSessionCookie

public final SessionCookie getSessionCookie()

setSessionCookie

public final void setSessionCookie(SessionCookie sessionCookie)

isRetainState

public boolean isRetainState()

setRetainState

public void setRetainState(boolean isRetainState)

isUseExclusive

public boolean isUseExclusive()

setUseExclusive

public void setUseExclusive(boolean isUseExclusive)

setJDBCConnectString

public final void setJDBCConnectString(java.lang.String jdbcConnectString)

getJDBCConnectString

public final java.lang.String getJDBCConnectString()

setJDBCProperties

public final void setJDBCProperties(java.util.Properties jdbcProperties)

getJDBCProperties

public final java.util.Properties getJDBCProperties()

setAuthException

public final void setAuthException(JboException ex)

getAuthException

public final JboException getAuthException()

setJDBCConnectException

public final void setJDBCConnectException(java.lang.Throwable ex)

getJDBCConnectException

public final java.lang.Throwable getJDBCConnectException()

getRtnClientData

public final byte[] getRtnClientData()

setRtnClientData

public final void setRtnClientData(byte[] clientData)

setRtnReservedPassivationId

public final void setRtnReservedPassivationId(int psId)

getRtnReservedPassivationId

public final int getRtnReservedPassivationId()

getRtnPassivationId

public final int getRtnPassivationId()

setRtnPassivationId

public final void setRtnPassivationId(int psId)

getRtnAMStatistics

public final AMStatistics getRtnAMStatistics()

setRtnAMStatistics

public final void setRtnAMStatistics(AMStatistics stats)

getRtnConnectionMetadata

public final ConnectionMetadata getRtnConnectionMetadata()

setRtnConnectionMetadata

public final void setRtnConnectionMetadata(ConnectionMetadata connectionMetadata)

getRtnMostRecentStackId

public final int getRtnMostRecentStackId()

setRtnMostRecentStackId

public final void setRtnMostRecentStackId(int mostRecentStackId)

getRtnSessionData

public final SessionData getRtnSessionData()

setRtnSessionData

public final void setRtnSessionData(SessionData sessionData)

setApplicationModuleConnected

public final void setApplicationModuleConnected(boolean connected)

isApplicationModuleConnected

public final boolean isApplicationModuleConnected()

setApplicationModuleRemoved

public final void setApplicationModuleRemoved(boolean removed)

isApplicationModuleRemoved

public final boolean isApplicationModuleRemoved()

passivateState

public final void passivateState(int id,
                                 byte[] clientData,
                                 int flags)

reservePassivationId

public final void reservePassivationId()

setBundledExceptionMode

public final void setBundledExceptionMode(boolean bundledExceptionMode)

activateState

public final void activateState(int id,
                                SessionData info,
                                int flags)

removeState

public final void removeState(int id)

resetState

public final void resetState(int flags)

prepareSession

public final void prepareSession(SessionData info)

hintPrepareSession

public final void hintPrepareSession(SessionData info,
                                     ConnectionMetadata md)

attachToLightweightSession

public final void attachToLightweightSession()

detachFromLightweightSession

public final void detachFromLightweightSession()

connect

public final void connect()

disconnect

public final void disconnect(boolean retainState)

reconnect

public final void reconnect()

getStatistics

public final void getStatistics()

removeApplicationModule

public final void removeApplicationModule()

getIgnorePiggyback

public final boolean getIgnorePiggyback()

setIgnorePiggyback

public final void setIgnorePiggyback(boolean ignorePiggyback)

getBoundToWorkingSet

public final boolean getBoundToWorkingSet()

setBoundToWorkingSet

public final void setBoundToWorkingSet(boolean boundToWorkingSet)

getMessageId

public final long getMessageId()

setMessageId

public final void setMessageId(long id)

getRefCount

public final int getRefCount()

setRefCount

public final void setRefCount(int count)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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