EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.platform.server.wls
Class WebLogic_10_Platform

java.lang.Object
  extended by org.eclipse.persistence.platform.server.ServerPlatformBase
      extended by org.eclipse.persistence.platform.server.wls.WebLogicPlatform
          extended by org.eclipse.persistence.platform.server.wls.WebLogic_9_Platform
              extended by org.eclipse.persistence.platform.server.wls.WebLogic_10_Platform
All Implemented Interfaces:
ServerPlatform

public class WebLogic_10_Platform
extends WebLogic_9_Platform

PUBLIC: This is the concrete subclass responsible for representing WebLogic 10 specific behavior. This includes WebLogic 10.3 behavior.


Field Summary
static java.lang.String JMX_REGISTER_DEV_MBEAN_PROPERTY
          This System property "eclipselink.register.dev.mbean" when set to true will enable registration/unregistration of the DevelopmentServices MBean
static java.lang.String JMX_REGISTER_RUN_MBEAN_PROPERTY
          This System property "eclipselink.register.run.mbean" when set to true will enable registration/unregistration of the RuntimeServices MBean
protected  boolean shouldRegisterDevelopmentBean
           
protected  boolean shouldRegisterRuntimeBean
           
static java.lang.String WEBLOGIC_APPLICATIONNAME_PROPERTY
          This persistence.xml or sessions.xml property is used to override the applicationName
static java.lang.String WEBLOGIC_MODULENAME_PROPERTY
          This persistence.xml or sessions.xml property is used to override the moduleName
 
Fields inherited from class org.eclipse.persistence.platform.server.wls.WebLogicPlatform
clearStatementCacheMethod, vendorConnectionMethod, weblogicConnectionClass
 
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, serverNameAndVersion
 
Constructor Summary
WebLogic_10_Platform(DatabaseSession newDatabaseSession)
          INTERNAL: Default Constructor: All behavior for the default constructor is inherited
 
Method Summary
 java.lang.String getApplicationName()
          INTERNAL: getApplicationName(): Answer the name of the module (EAR name) that this session is associated with.
 java.lang.String getModuleName()
          INTERNAL: getModuleName(): Answer the name of the context-root of the application that this session is associated with.
 void serverSpecificRegisterMBean()
          INTERNAL: serverSpecificRegisterMBean(): Server specific implementation of the creation and deployment of the JMX MBean to provide runtime services for my databaseSession.
 void serverSpecificUnregisterMBean()
          INTERNAL: serverSpecificUnregisterMBean(): Server specific implementation of the de-registration of the JMX MBean from its server during session logout.
 
Methods inherited from class org.eclipse.persistence.platform.server.wls.WebLogicPlatform
clearStatementCache, getClearStatementCacheMethod, getExternalTransactionControllerClass, getVendorConnectionMethod, getWebLogicConnectionClass, initializeServerNameAndVersion, unwrapConnection
 
Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
configureProfiler, disableJTA, disableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getNewTempClassLoader, getServerLog, getServerNameAndVersion, initializeExternalTransactionController, isCMP, isJTAEnabled, isRuntimeServicesEnabled, launchContainerRunnable, registerMBean, setExternalTransactionControllerClass, setIsCMP, shouldUseDriverManager, unregisterMBean, wasFailureCommunicationBased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMX_REGISTER_DEV_MBEAN_PROPERTY

public static final java.lang.String JMX_REGISTER_DEV_MBEAN_PROPERTY
This System property "eclipselink.register.dev.mbean" when set to true will enable registration/unregistration of the DevelopmentServices MBean

See Also:
Constant Field Values

JMX_REGISTER_RUN_MBEAN_PROPERTY

public static final java.lang.String JMX_REGISTER_RUN_MBEAN_PROPERTY
This System property "eclipselink.register.run.mbean" when set to true will enable registration/unregistration of the RuntimeServices MBean

See Also:
Constant Field Values

WEBLOGIC_MODULENAME_PROPERTY

public static final java.lang.String WEBLOGIC_MODULENAME_PROPERTY
This persistence.xml or sessions.xml property is used to override the moduleName

See Also:
Constant Field Values

WEBLOGIC_APPLICATIONNAME_PROPERTY

public static final java.lang.String WEBLOGIC_APPLICATIONNAME_PROPERTY
This persistence.xml or sessions.xml property is used to override the applicationName

See Also:
Constant Field Values

shouldRegisterDevelopmentBean

protected boolean shouldRegisterDevelopmentBean

shouldRegisterRuntimeBean

protected boolean shouldRegisterRuntimeBean
Constructor Detail

WebLogic_10_Platform

public WebLogic_10_Platform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited

Method Detail

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.

Overrides:
serverSpecificRegisterMBean in class ServerPlatformBase
See Also:
ServerPlatformBase.isRuntimeServicesEnabled(), ServerPlatformBase.disableRuntimeServices(), ServerPlatformBase.registerMBean()

serverSpecificUnregisterMBean

public void serverSpecificUnregisterMBean()
INTERNAL: serverSpecificUnregisterMBean(): Server specific implementation of the de-registration of the JMX MBean from its server during session logout.

Overrides:
serverSpecificUnregisterMBean in class ServerPlatformBase
See Also:
ServerPlatformBase.isRuntimeServicesEnabled(), ServerPlatformBase.disableRuntimeServices()

getModuleName

public java.lang.String getModuleName()
INTERNAL: 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. There are 4 levels of implementation. 1) use the property override weblogic.moduleName, or 2) perform a reflective weblogic.work.executeThreadRuntime.getModuleName() call (build 10.3+), or 3) extract the moduleName:persistence_unit from the weblogic classloader string representation (build 10.3), or 3) defer to superclass - usually return "unknown"

Specified by:
getModuleName in interface ServerPlatform
Overrides:
getModuleName in class ServerPlatformBase
Returns:
String moduleName

getApplicationName

public java.lang.String getApplicationName()
INTERNAL: 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. There are 4 levels of implementation. 1) use the property override weblogic.applicationName, or 2) perform a reflective weblogic.work.executeThreadRuntime.getApplicationName() call (build 10.3+), or 3) extract the moduleName:persistence_unit from the weblogic classloader string representation (build 10.3), or 3) defer to superclass - usually return "unknown"

Overrides:
getApplicationName in class WebLogicPlatform
Returns:
String applicationName

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference