Community
Participate
Working Groups
There are several functions/attributes available for WebLogic that are not exposed using the generic MBean implementations. The design changes are TBD at this point in a 1.1 extension to the existing 1.0 design doc at.... http://wiki.eclipse.org/EclipseLink/DesignDocs/235168 See related bugs https://bugs.eclipse.org/bugs/show_bug.cgi?id=248746 https://bugs.eclipse.org/bugs/show_bug.cgi?id=248747
See 1.0 design doc http://wiki.eclipse.org/EclipseLink/DesignDocs/235168 See 1.1 design doc http://wiki.eclipse.org/EclipseLink/DesignDocs/248748 Unreviewed/unedited interface addition candidates public String getsessionName() { public String getsessionType() { public Object[][] getClassSummaryDetailsUsingFilter(String filter){ public Object[][] getClassSummaryDetails() { public Vector getMappedClassNamesUsingFilter(String filter) { public String getmoduleName() { public String getdeployedEclipseLinkLogLevel() { public String getDeployedEclipseLogLevel(String category) { public String getcurrentEclipseLogLevel() { public String getcurrentEclipseLogLevel(String category) { public synchronized void setcurrentEclipseLogLevel(String newLevel) { public synchronized String getprofilingType() { public synchronized void setprofilingType(String profileType) { public void setuseEclipseProfiling() { public void setuseDMSProfiling() { public Boolean getusesEclipseProfiling() { public Boolean getusesDMSProfiling() { public void setuseNoProfiling() { public synchronized void setshouldLogPerformanceProfiler(Boolean shouldLogPerformanceProfiler) { public Boolean getshouldLogPerformanceProfiler() { public Boolean getshouldBindAllParameters() { public Integer getstringBindingSize() { public Boolean getusesBatchWriting() { public Long gettimeConnectionEstablished() { public Boolean getusesJDBCBatchWriting() { public Boolean getusesByteArrayBinding() { public Boolean getusesNativeSQL() { public Boolean getusesStreamsForBinding() { public Boolean getshouldCacheAllStatements() { public Integer getstatementCacheSize() { public synchronized void clearStatementCache() { public Integer getsequencePreallocationSize() { public void printAvailableConnectionPools() { public Integer getMaxSizeForPool(String poolName) { public Integer getMinSizeForPool(String poolName) { public void printClassesInSession() { public void printObjectsInIdentityMap(String className) throws ClassNotFoundException { public void printAllIdentityMapTypes() { public void printObjectsInIdentityMaps() { public Integer getnumberOfObjectsInAllIdentityMaps() { public Integer getnumberOfPersistentClasses() { public void printIdentityMapLocks() { public void printIdentityMapLocks(String registeredClassName) { public void printProfileSummary() { public void printProfileSummaryByClass() { public void printProfileSummaryByQuery() { public String getlogType() { public String getdatabasePlatform() { public synchronized String getconnectionPoolType() { public synchronized String getdriver() { public String getlogFilename() { public synchronized String getdeployedProfileWeight() { public synchronized String getcurrentProfileWeight() { public synchronized void setcurrentProfileWeight(String weight) { public synchronized void initializeAllIdentityMaps() { public synchronized void initializeIdentityMaps(String[] classNames) throws ClassNotFoundException { public synchronized void initializeIdentityMap(String className) throws ClassNotFoundException { public synchronized void invalidateAllIdentityMaps() { public synchronized void invalidateIdentityMaps(String[] classNamesParam, Boolean recurse) throws ClassNotFoundException { public synchronized void invalidateIdentityMap(String className) throws ClassNotFoundException { public synchronized void invalidateIdentityMap(String className, Boolean recurse) throws ClassNotFoundException { public Boolean getcacheSynchEnabled() { public Boolean getcacheSynchAsynchronous() {
Created attachment 114599 [details] First pass WebLogic specific MBean JConsole attribute screen
Created attachment 115950 [details] eclipselink core patch (phase 1 - new attributes)
Created attachment 115951 [details] WebLogic specific JMX MBean JConsole attribute screen (phase 1)
Created attachment 116518 [details] eclipselink core patch (phase 1 - new attributes) - prep for code-review
Code-Review: David Minsky Modifications: 1) - use standard MBean registration format "org.eclipse.persistence" instead of existing "EclipseLink_Domain" - "Runtime_<session name>" changed to "Runtime-<session name>" 2) - 2 duplicated functions in sub-interface MBeanWebLogicRuntimeMBean that are already in MBeanRuntimeServicesMBean public Integer getNumberOfObjectsInIdentityMap(String className) throws ClassNotFoundException; public void resetAllConnections(); 3) - Modify null session name error message { "session_key_for_mbean_name_is_null", "Session name used for the MBean registration cannot be null." }, 4) Four refactoring requests were entered JMX: Refactor: MBean impl/interface naming conventions change https://bugs.eclipse.org/bugs/show_bug.cgi?id=253017 JMX: Refactor: Move generic functions out of platform into superclass https://bugs.eclipse.org/bugs/show_bug.cgi?id=253018 JMX: Refactor: Additional Human readable time format for TimeConnectionEstablished https://bugs.eclipse.org/bugs/show_bug.cgi?id=253019 JMX: Refactor: getCacheTypeFor() for NoIdentityMap should return "NoIdentity" instead "None" https://bugs.eclipse.org/bugs/show_bug.cgi?id=253020
Created attachment 116658 [details] eclipselink core patch (phase 1 - post code-review)
see rev 2700 - close bug when bug# 248746 and bug# 248747 are resolved http://fisheye2.atlassian.com/changelog/eclipselink/?cs=2700
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink