javax.tools.diagnostics.vm
Class DumpDescriptor

java.lang.Object
  extended by javax.tools.diagnostics.vm.DumpDescriptor
All Implemented Interfaces:
java.lang.Cloneable

public class DumpDescriptor
extends java.lang.Object
implements java.lang.Cloneable

Definition of the capabilities of a Dump that should be produced by passing an instance of this descriptor to the Dump class


Constructor Summary
DumpDescriptor()
           
 
Method Summary
protected  java.lang.Object clone()
           
 DumpDescriptor copy()
          Returns a copy of this descriptor.
 boolean recordClassesRequired()
           
 boolean recordClassLoadersRequired()
          Returns true if the recording of class loaders in the generated dump is a required attribute.
 void setRecordClasses()
          Call to indicate that the dump generated by the initiator is required to contain data that will eventually be represented by the JavaClass interface
 void setRecordClassLoaders()
          Call to indicate that the dump generated by the initiator is required to contain data that will eventually be represented by the JavaClassLoader interface
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpDescriptor

public DumpDescriptor()
Method Detail

setRecordClassLoaders

public void setRecordClassLoaders()
Call to indicate that the dump generated by the initiator is required to contain data that will eventually be represented by the JavaClassLoader interface


setRecordClasses

public void setRecordClasses()
Call to indicate that the dump generated by the initiator is required to contain data that will eventually be represented by the JavaClass interface


recordClassLoadersRequired

public boolean recordClassLoadersRequired()
Returns true if the recording of class loaders in the generated dump is a required attribute. Returns false if it is optional.

Returns:

recordClassesRequired

public boolean recordClassesRequired()

copy

public DumpDescriptor copy()
Returns a copy of this descriptor.

Returns:
new copy.

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException


Copyright © 2010. All Rights Reserved.