Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


com.bea.wls.redef.runtime
Interface ClassRedefinitionRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface ClassRedefinitionRuntimeMBean
extends RuntimeMBean

This interface provides functionality to monitor the class redefinition process. It also provides methods to explicitly initiate class redefinition.

Since:
10.3.0.0

Method Summary
abstract  int getClassRedefinitionCount()
          Number of class redefinitions executed so far.
abstract  ClassRedefinitionTaskRuntimeMBean[] getClassRedefinitionTasks()
          Return the array of class redefinition tasks.
abstract  int getFailedClassRedefinitionCount()
          Number of failed redefinition operations since the application was deployed.
abstract  int getProcessedClassesCount()
          Number of classes processed since the application was deployed.
abstract  long getTotalClassRedefinitionTime()
          Total time spent processing classes, in nano seconds since the application was deployed.
abstract  ClassRedefinitionTaskRuntimeMBean redefineClasses()
          Initiate a class redefinition cycle, which will identify classes which may have changed and then attempt to redefine them.
abstract  ClassRedefinitionTaskRuntimeMBean redefineClasses(String moduleName, String[] classNames)
          Initiate a class redefinition cycle, to redefine only the specified classes from given module.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

getClassRedefinitionCount

int getClassRedefinitionCount()

Number of class redefinitions executed so far.

Returns:
Number of class redefinition cycles executed so far.

getFailedClassRedefinitionCount

int getFailedClassRedefinitionCount()

Number of failed redefinition operations since the application was deployed.

Returns:
Number of failed redefinition since the application was deployed.

getProcessedClassesCount

int getProcessedClassesCount()

Number of classes processed since the application was deployed.

Returns:
Number of classes processed since the application was deployed.

getTotalClassRedefinitionTime

long getTotalClassRedefinitionTime()

Total time spent processing classes, in nano seconds since the application was deployed.

Returns:
Total time spent processing classes, in nano seconds.

redefineClasses

ClassRedefinitionTaskRuntimeMBean redefineClasses()
                                                  throws ManagementException

Initiate a class redefinition cycle, which will identify classes which may have changed and then attempt to redefine them. Class redefinition will be performed asynchronously. The progress of the class redefinition process can be monitored with the returned task.

Returns:
Task to monitor and control initiated class redefinition.
Throws:
ManagementException

redefineClasses

ClassRedefinitionTaskRuntimeMBean redefineClasses(String moduleName,
                                                  String[] classNames)
                                                  throws ManagementException

Initiate a class redefinition cycle, to redefine only the specified classes from given module. Class redefinition will be performed asynchronously. The progress of the class redefinition process can be monitored with the returned task. If specified module name is null, any classes within the application (scoped to any modules as well as globally scoped classes) which are included in the list will be redefined.

Parameters:
moduleName - Module from which the classes are to be redefined.
classNames - Classes to be redefined.
Returns:
Task to monitor and control initiated class redefinition.
Throws:
ManagementException

getClassRedefinitionTasks

ClassRedefinitionTaskRuntimeMBean[] getClassRedefinitionTasks()

Return the array of class redefinition tasks.

Returns:
Array of current class redefinition tasks

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09