| Access | Constructor and Description |
|---|---|
| public | GlassfishPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: Class externalTransactionControllerClassImplements abstract org. Implements org. |
| public SessionLog | getServerLog()
Overrides org. Implements org. |
| public boolean | isRuntimeServicesEnabledDefault()
Overrides org. Implements org. |
| public void | prepareServerSpecificServicesMBean()
Implements org. |
| public void | serverSpecificRegisterMBean()
Overrides org. |
| public Connection | unwrapConnection(final Connection connection)
Overrides org. Implements org. |
| private Connection | Returns: unwrapped GlassFish connection, null if connection can not be unwrapped.
|
| GlassfishPlatform | back to summary |
|---|---|
| public GlassfishPlatform(DatabaseSession newDatabaseSession) INTERNAL: Default Constructor: All behavior for the default constructor is inherited | |
| getExternalTransactionControllerClass | back to summary |
|---|---|
| public Class Implements abstract org. Implements org. INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for SUN AS9. This is read-only.
| |
| getServerLog | back to summary |
|---|---|
| public SessionLog getServerLog() Overrides org. Implements org. Doc from org. INTERNAL: getServerLog(): Return the ServerLog for this platform Return the default ServerLog in the base
| |
| isRuntimeServicesEnabledDefault | back to summary |
|---|---|
| public boolean isRuntimeServicesEnabledDefault() Overrides org. Implements org. Doc from org. INTERNAL:
isRuntimeServicesEnabledDefault(): Answer true if the JMX/MBean providing runtime services for
the receiver's DatabaseSession will be deployed at runtime.
Provide the default value for
| |
| prepareServerSpecificServicesMBean | back to summary |
|---|---|
| public void prepareServerSpecificServicesMBean() Implements org. INTERNAL: prepareServerSpecificServicesMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for the databaseSession. Default is to do nothing. Implementing platform classes must override this function and supply the server specific MBean instance for later registration by calling it in the constructor.
| |
| serverSpecificRegisterMBean | back to summary |
|---|---|
| public void serverSpecificRegisterMBean() Overrides org. INTERNAL: serverSpecificRegisterMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for my databaseSession.
| |
| unwrapConnection | back to summary |
|---|---|
| public Connection unwrapConnection(final Connection connection) Overrides org. Implements org. Doc from org. INTERNAL: This method is used to unwrap the connection wrapped by the application server. TopLink needs this unwrapped connection for certain database vendor specific support. (i.e. TIMESTAMPTZ,NCHAR,XMLTYPE) Be default we will use the connection's metadata to try to get the connection
| |
| unwrapGlassFishConnectionHelper | back to summary |
|---|---|
private Connection unwrapGlassFishConnectionHelper(Connection connection)
| |