getClassSummaryDetailsUsingFilterArray(java.lang.String filter)
Provide a list of instance of ClassSummaryDetail containing information about the
classes in the session whose class names match the provided filter.

getLogType()
Return the log type, either "EclipseLink", "Java" or "Server"

java.util.Vector

getMappedClassNamesUsingFilter(java.lang.String filter)
INTERNAL:
This method traverses the EclipseLink descriptors and returns a Vector of the descriptor's
reference class names that match the provided filter.

java.lang.Integer

getMaxSizeForPool(java.lang.String poolName)
This method will retrieve the max size of a particular connection pool

java.lang.Integer

getMinSizeForPool(java.lang.String poolName)
This method will retrieve the min size of a particular connection pool

java.lang.String

getModuleName()
getModuleName(): Answer the name of the context-root of the application that this session is associated with.

getClassSummaryDetailsArray

Provide a list of instance of ClassSummaryDetail containing information about all
classes in the session.
ClassSummaryDetail is a model specific class that can be used internally by the Portable JMX Framework to
convert class attribute to JMX required open type, it has:-
1. model specific type that needs to be converted : ["Class Name", "Parent Class Name", "Cache Type", "Configured Size", "Current Size"]
2. convert methods.

Returns:

A ArrayList of instance of ClassSummaryDetail containing class information for the class names that match the filter.

getMappedClassNamesUsingFilter

INTERNAL:
This method traverses the EclipseLink descriptors and returns a Vector of the descriptor's
reference class names that match the provided filter. The filter is a comma separated
list of strings to match against.

Parameters:

filter - A comma separated list of strings to match against.

Returns:

A Vector of class names that match the filter.

getModuleName

java.lang.String getModuleName()

getModuleName(): Answer the name of the context-root of the application that this session is associated with.
Answer "unknown" if there is no module name available.
Default behavior is to return "unknown" - we override this behavior here for WebLogic.

getApplicationName

java.lang.String getApplicationName()

getApplicationName(): Answer the name of the module (EAR name) that this session is associated with.
Answer "unknown" if there is no application name available.
Default behavior is to return "unknown" - we override this behavior here for WebLogic.

getDeployedEclipseLinkLogLevel

java.lang.String getDeployedEclipseLinkLogLevel()

Answer the EclipseLink log level at deployment time. This is read-only.

getCurrentEclipseLinkLogLevel

java.lang.String getCurrentEclipseLinkLogLevel()

Answer the EclipseLink log level that is changeable.
This does not affect the log level in the project (i.e. The next
time the application is deployed, changes are forgotten)

setCurrentEclipseLinkLogLevel

void setCurrentEclipseLinkLogLevel(java.lang.String newLevel)

Set the EclipseLink log level to be used at runtime.
This does not affect the log level in the project (i.e. The next
time the application is deployed, changes are forgotten)

Parameters:

String - newLevel: new log level

getProfilingType

java.lang.String getProfilingType()

This method is used to get the type of profiling.
Possible values are: "EclipseLink" or "None".

setProfilingType

void setProfilingType(java.lang.String profileType)

This method is used to select the type of profiling.
Valid values are: "EclipseLink" or "None". These values are not case sensitive.
null is considered to be "None".

setUseEclipseLinkProfiling

void setUseEclipseLinkProfiling()

This method is used to turn on EclipseLink Performance Profiling

getUsesEclipseLinkProfiling

java.lang.Boolean getUsesEclipseLinkProfiling()

This method answers true if EclipseLink Performance Profiling is on.

setUseNoProfiling

void setUseNoProfiling()

This method is used to turn off all Performance Profiling, DMS or EclipseLink.

getStringBindingSize

java.lang.Integer getStringBindingSize()

Return the size of strings after which will be bound into the statement
If we are not using a DatabaseLogin, or we're not using string binding,
answer 0 (zero).

getTimeConnectionEstablished

java.lang.Long getTimeConnectionEstablished()

This method will return a long indicating the exact time in Milliseconds that the
session connected to the database.

getUsesJDBCBatchWriting

java.lang.Boolean getUsesJDBCBatchWriting()

This method will return if batchWriting is in use or not.

getUsesByteArrayBinding

java.lang.Boolean getUsesByteArrayBinding()

Shows if Byte Array Binding is turned on or not

getUsesNativeSQL

java.lang.Boolean getUsesNativeSQL()

Shows if native SQL is being used

getUsesStreamsForBinding

java.lang.Boolean getUsesStreamsForBinding()

This method indicates if streams are being used for binding

getUsesStringBinding

java.lang.Boolean getUsesStringBinding()

This method indicates if Strings are being bound

clearStatementCache

void clearStatementCache()

Used to clear the statement cache. Only valid if statements are being cached

printAvailableConnectionPools

void printAvailableConnectionPools()

This method will print the available Connection pools to the SessionLog.

getMaxSizeForPool

java.lang.Integer getMaxSizeForPool(java.lang.String poolName)

This method will retrieve the max size of a particular connection pool

Parameters:

poolName - the name of the pool to get the max size for

Returns:

Integer for the max size of the pool. Return -1 if pool doesn't exist.

getMinSizeForPool

java.lang.Integer getMinSizeForPool(java.lang.String poolName)

This method will retrieve the min size of a particular connection pool

Parameters:

poolName - the name of the pool to get the min size for

Returns:

Integer for the min size of the pool. Return -1 if pool doesn't exist.

printClassesInSession

void printClassesInSession()

This method is used to output those Class Names that have identity Maps in the Session.
Please note that SubClasses and aggregates will be missing form this list as they do not have
separate identity maps.