Class WebSphere_7_Platform
- java.lang.Object
-
- org.eclipse.persistence.platform.server.ServerPlatformBase
-
- org.eclipse.persistence.platform.server.JMXServerPlatformBase
-
- org.eclipse.persistence.platform.server.was.WebSpherePlatform
-
- org.eclipse.persistence.platform.server.was.WebSphere_6_1_Platform
-
- org.eclipse.persistence.platform.server.was.WebSphere_7_Platform
-
- All Implemented Interfaces:
JMXEnabledPlatform,ServerPlatform
- Direct Known Subclasses:
WebSphere_EJBEmbeddable_Platform,WebSphere_Liberty_Platform
public class WebSphere_7_Platform extends WebSphere_6_1_Platform implements JMXEnabledPlatform
PUBLIC: This is the concrete subclass responsible for representing WebSphere 7 -specific server behavior. This platform has: - No JMX MBean runtime services
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVER_LOG_CLASS-
Fields inherited from class org.eclipse.persistence.platform.server.was.WebSpherePlatform
vendorConnectionMethod, websphereConnectionClass, websphereUtilClass
-
Fields inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase
APP_SERVER_CLASSLOADER_APPLICATION_PU_SEARCH_STRING_POSTFIX, APP_SERVER_CLASSLOADER_APPLICATION_PU_SEARCH_STRING_PREFIX, APP_SERVER_CLASSLOADER_MODULE_EJB_SEARCH_STRING_PREFIX, APP_SERVER_CLASSLOADER_MODULE_EJB_WAR_SEARCH_STRING_POSTFIX, APP_SERVER_CLASSLOADER_MODULE_WAR_SEARCH_STRING_PREFIX, JMX_MBEANSERVER_INDEX_DEFAULT_FOR_MULTIPLE_SERVERS, JMX_REGISTRATION_PREFIX, mBeanServer, OVERRIDE_JMX_APPLICATIONNAME_PROPERTY, OVERRIDE_JMX_MODULENAME_PROPERTY
-
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize
-
-
Constructor Summary
Constructors Constructor Description WebSphere_7_Platform(DatabaseSession newDatabaseSession)INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SessionLogcreateSessionLog()SessionLoggetServerLog()INTERNAL: getServerLog(): Return the ServerLog for this platform Return the default ServerLog in the basebooleanisRuntimeServicesEnabledDefault()INTERNAL: isRuntimeServicesEnabledDefault(): Answer true if the JMX/MBean providing runtime services for the receiver's DatabaseSession will be deployed at runtime.voidprepareServerSpecificServicesMBean()INTERNAL: prepareServerSpecificServicesMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for the databaseSession.voidserverSpecificRegisterMBean()INTERNAL: serverSpecificRegisterMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for my databaseSession.-
Methods inherited from class org.eclipse.persistence.platform.server.was.WebSpherePlatform
getExternalTransactionControllerClass, getJNDIConnectorLookupType, getVendorConnectionMethod, getWebsphereConnectionClass, getWebsphereUtilClass, unwrapConnection
-
Methods inherited from class org.eclipse.persistence.platform.server.JMXServerPlatformBase
getAbstractSession, getApplicationName, getApplicationName, getMBeanServer, getMBeanSessionName, getModuleName, getModuleName, getRuntimeServicesMBean, initializeApplicationNameAndModuleName, serverSpecificUnregisterMBean, setApplicationName, setModuleName, setRuntimeServicesMBean
-
Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
clearStatementCache, configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getNewTempClassLoader, getPartitionID, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBased
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.platform.server.JMXEnabledPlatform
getApplicationName
-
-
-
-
Field Detail
-
SERVER_LOG_CLASS
public static final java.lang.String SERVER_LOG_CLASS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebSphere_7_Platform
public WebSphere_7_Platform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
-
Method Detail
-
getServerLog
public SessionLog getServerLog()
Description copied from class:ServerPlatformBaseINTERNAL: getServerLog(): Return the ServerLog for this platform Return the default ServerLog in the base- Specified by:
getServerLogin interfaceServerPlatform- Overrides:
getServerLogin classServerPlatformBase- Returns:
- org.eclipse.persistence.logging.SessionLog
-
createSessionLog
protected SessionLog createSessionLog()
-
isRuntimeServicesEnabledDefault
public boolean isRuntimeServicesEnabledDefault()
Description copied from class:ServerPlatformBaseINTERNAL: isRuntimeServicesEnabledDefault(): Answer true if the JMX/MBean providing runtime services for the receiver's DatabaseSession will be deployed at runtime. Provide the default value forServerPlatformBase.isRuntimeServicesEnabled()for a ServerPlatform. By default this isfalsebut some platforms can choose to have MBeans deployed by default.- Specified by:
isRuntimeServicesEnabledDefaultin interfaceServerPlatform- Overrides:
isRuntimeServicesEnabledDefaultin classServerPlatformBase
-
prepareServerSpecificServicesMBean
public void prepareServerSpecificServicesMBean()
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
public void serverSpecificRegisterMBean()
INTERNAL: serverSpecificRegisterMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for my databaseSession.
-
-