Deprecated API


Contents
Deprecated Interfaces
com.bea.jvm.Optimization
          Replaced by com.bea.jvm.CodeGenerationStrategy 
com.bea.jvm.OptimizationLevel
          Replaced by CodeGenerationStrategy. 
 

Deprecated Exceptions
com.bea.jvm.ClassRedefinitionException
          Not used. A ClassFormatError will be thrown. 
 

Deprecated Methods
com.bea.jvm.CompilationSystem.forceCompilation(Constructor, OptimizationLevel)
            
com.bea.jvm.CompilationSystem.forceCompilation(Method, OptimizationLevel)
          Replaced. 
com.bea.jvm.ClassLibrary.getAllClasses(ClassLoader)
          This function (for historical reasons) includes only classes defined by the specified ClassLoader, but the name is rather unspecific. Use @link {#getDeclaredClasses(ClassLoader) getDeclaredClasses} or @link {#getInitiatedClasses(ClassLoader) getInitiatedClasses instead. 
com.bea.jvm.ProfilingSystem.getExceptionCount(Class)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.getInvocationCount(Constructor)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.getInvocationCount(Method)
          Use ProfileEntries instead 
com.bea.jvm.event.CompilationEvent.getOptimizationLevel()
          Replaced. 
com.bea.jvm.CompilationSystem.getOptimizationLevel(Constructor)
          Replaced. 
com.bea.jvm.CompilationSystem.getOptimizationLevel(Method)
          Replaced. 
com.bea.jvm.CompilationSystem.getOptimizationLevels()
          Replaced by getCodeGenerationStrategies(). 
com.bea.jvm.ThreadSnapshot.getState()
          Use the new getStateBitmap or getThreadState instead. 
com.bea.jvm.ProfilingSystem.getTiming(Constructor)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.getTiming(Method)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.isExceptionCountEnabled(Class)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.isInvocationCountEnabled(Constructor)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.isInvocationCountEnabled(Method)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.isTimingEnabled(Constructor)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.isTimingEnabled(Method)
          Use ProfileEntries instead 
com.bea.jvm.CompilationSystem.redefineMethod(Method, byte[], int, int)
            
com.bea.jvm.ProfilingSystem.setExceptionCountEnabled(Class, boolean, boolean)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.setInvocationCountEnabled(Constructor, boolean)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.setInvocationCountEnabled(Method, boolean)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.setTimingEnabled(Constructor, boolean)
          Use ProfileEntries instead 
com.bea.jvm.ProfilingSystem.setTimingEnabled(Method, boolean)
          Use ProfileEntries instead 
 

Deprecated Constructors
com.bea.jvm.event.CompilationEvent(Constructor, OptimizationLevel, long)
          Replaced. 
com.bea.jvm.event.CompilationEvent(Method, OptimizationLevel, long)
          Replaced. 
com.bea.jvm.event.CompilationEvent(Object, CodeGenerationStrategy, OptimizationLevel, long)
          Will be killed off in later releases. 
 



Copyright © 2006 BEA Systems Inc.