Snapshot Factory

org.eclipse.mat.api.factory

0.7.0

This is an internal extension point. The implementation of the factory to create snapshot instances is packaged in a separate plug-in.

<!ELEMENT extension (factory)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT factory EMPTY>

<!ATTLIST factory

impl CDATA #REQUIRED>


Following is an example of a query declaration:

   

<extension point=

"org.eclipse.mat.api.factory"

>

<factory impl=

"org.eclipse.mat.parser.internal.SnapshotFactoryImpl"

/>

</extension>

The value of the impl attribute must represent an implementor of org.eclipse.mat.snapshot.SnapshotFactory.Implementation. The org.eclipse.mat.snapshot.SnapshotFactory class in the org.eclipse.mat.api plug-in calls the implementation.

The default implementation org.eclipse.mat.parser.internal.SnapshotFactoryImpl lives in the org.eclipse.mat.parser plug-in.