[77990] Pull isFactoryForType in JavaReflectionAdapterFactory up from
subclasses and expose as public the TYPE key from the factory for
people to use.
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java
index cf36d3d..aab1cbb 100644
--- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java
+++ b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/JavaReflectionAdapterFactory.java
@@ -11,7 +11,7 @@
 package org.eclipse.jem.internal.java.adapters;
 /*
  *  $RCSfile: JavaReflectionAdapterFactory.java,v $
- *  $Revision: 1.4 $  $Date: 2004/08/27 15:33:17 $ 
+ *  $Revision: 1.5 $  $Date: 2004/11/08 19:11:04 $ 
  */
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -32,7 +32,10 @@
 	// relfected from them.  This allows a flush operation to force those
 	// adapters to re-reflect.
 	protected HashMap reflected = new HashMap();
-	protected static final String TYPE_NAME = ReadAdaptor.TYPE_KEY;
+	/**
+	 * Key for the type of adapters that this factory creates. (Used in isFactoryForType()).
+	 */
+	public static final String TYPE_KEY = ReadAdaptor.TYPE_KEY;
 	protected boolean isBusyIteratingReflected = false;
 	protected Map registerQueue;
 	protected List unregisterQueue;
@@ -155,6 +158,9 @@
 		registerQueue.clear();
 	}
 }
+public boolean isFactoryForType(Object type) {
+	return TYPE_KEY.equals(type);
+}
 }
 
 
diff --git a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java
index 28b74f0..554c32b 100644
--- a/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java
+++ b/plugins/org.eclipse.jem/mofjava/org/eclipse/jem/internal/java/adapters/jdk/JavaJDKAdapterFactory.java
@@ -11,7 +11,7 @@
  *******************************************************************************/
 /*
  *  $RCSfile: JavaJDKAdapterFactory.java,v $
- *  $Revision: 1.1 $  $Date: 2003/10/27 17:12:30 $ 
+ *  $Revision: 1.2 $  $Date: 2004/11/08 19:11:04 $ 
  */
 import java.util.Iterator;
 
@@ -73,9 +73,6 @@
 	public java.lang.ClassLoader getContextClassLoader() {
 		return contextClassLoader;
 	}
-	public boolean isFactoryForType(Object type) {
-		return type.equals(TYPE_NAME);
-	}
 	/**
 	 * Insert the method's description here.
 	 * Creation date: (11/07/00 3:38:12 PM)
diff --git a/plugins/org.eclipse.jem/plugin.xml b/plugins/org.eclipse.jem/plugin.xml
index 84dec06..dc1647d 100644
--- a/plugins/org.eclipse.jem/plugin.xml
+++ b/plugins/org.eclipse.jem/plugin.xml
@@ -3,7 +3,7 @@
 <plugin
    id="org.eclipse.jem"
    name="%pluginName"
-   version="1.0.1"
+   version="1.0.2"
    provider-name="%providerName"
    class="org.eclipse.jem.internal.core.JEMPlugin">