db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r745529 - /db/jdo/trunk/tck2/src/conf/jdo-2_3-signatures.txt
Date Wed, 18 Feb 2009 14:54:00 GMT
Author: andyj
Date: Wed Feb 18 14:54:00 2009
New Revision: 745529

URL: http://svn.apache.org/viewvc?rev=745529&view=rev
Log:
Fix signatures. Added block at end for JDOEnhancer but SignatureTest blows its brains out
rather than giving a sensible message so commented out for now

Modified:
    db/jdo/trunk/tck2/src/conf/jdo-2_3-signatures.txt

Modified: db/jdo/trunk/tck2/src/conf/jdo-2_3-signatures.txt
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/jdo-2_3-signatures.txt?rev=745529&r1=745528&r2=745529&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/jdo-2_3-signatures.txt (original)
+++ db/jdo/trunk/tck2/src/conf/jdo-2_3-signatures.txt Wed Feb 18 14:54:00 2009
@@ -18,6 +18,8 @@
 public interface javax.jdo.Constants {
     static String SERVICE_LOOKUP_PMF_RESOURCE_NAME
         = "META-INF/services/javax.jdo.PersistenceManagerFactory";
+    static String SERVICE_LOOKUP_ENHANCER_RESOURCE_NAME
+        = "META-INF/services/javax.jdo.JDOEnhancer";
     static String JDOCONFIG_RESOURCE_NAME
         = "META-INF/jdoconfig.xml";
     static String JDOCONFIG_XSD_NS
@@ -72,6 +74,8 @@
         = "mapping";
     static String PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID
         = "server-time-zone-id";
+    static String PMF_ATTRIBUTE_QUERY_TIMEOUT
+        = "query-timeout-millis";
     static String ELEMENT_PROPERTY
         = "property";
     static String PROPERTY_ATTRIBUTE_NAME
@@ -208,6 +212,8 @@
         = "javax.jdo.mapping.Schema";
     static String PROPERTY_SERVER_TIME_ZONE_ID
         = "javax.jdo.option.ServerTimeZoneID";
+    static String PROPERTY_QUERY_TIMEOUT
+        = "javax.jdo.option.QueryTimeoutMillis";
     static String NONCONFIGURABLE_PROPERTY_VENDOR_NAME
         = "VendorName";
     static String NONCONFIGURABLE_PROPERTY_VERSION_NUMBER
@@ -368,6 +374,7 @@
     public Object getKey();
     public String toString();
     public boolean equals(Object obj);
+    public int hashCode();
     public int compareTo(Object obj);
     public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException;
     public void readExternal(java.io.ObjectInput in) throws java.io.IOException, ClassNotFoundException;
@@ -530,6 +537,8 @@
     public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory(String
jndiLocation, javax.naming.Context context, ClassLoader loader);
     public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory(java.io.InputStream
stream);
     public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory(java.io.InputStream
stream, ClassLoader loader);
+    public static javax.jdo.JDOEnhancer getEnhancer();
+    public static javax.jdo.JDOEnhancer getEnhancer(ClassLoader loader);
 }
 
 public class javax.jdo.JDONullIdentityException extends javax.jdo.JDOUserException {
@@ -835,6 +844,8 @@
     public void registerMetadata(javax.jdo.metadata.JDOMetadata metadata);
     public javax.jdo.metadata.JDOMetadata newMetadata();
     public javax.jdo.metadata.ComponentMetadata getMetadata(String className);
+    public void setQueryTimeoutMillis(int interval);
+    public int getQueryTimeoutMillis();
 }
 
 public interface javax.jdo.Query extends java.io.Serializable {
@@ -878,6 +889,8 @@
     public long deletePersistentAll();
     public void setUnmodifiable();
     public boolean isUnmodifiable();
+    public void setTimeoutMillis(int interval);
+    public void cancel();
 }
 
 public interface javax.jdo.spi.Detachable {
@@ -1605,3 +1618,22 @@
     int hashCode();
     boolean equals(Object other);
 }
+
+/*** This causes some NPE in SignatureTest whatever that means ***/
+/*
+public interface JDOEnhancer extends java.lang.instrument.ClassFileTransformer {
+    java.util.Properties getProperties();
+    javax.jdo.JDOEnhancer setVerbose(boolean flag);
+    javax.jdo.JDOEnhancer setOutputDirectory(String dirName);
+    javax.jdo.JDOEnhancer setClassLoader(ClassLoader loader);
+    javax.jdo.JDOEnhancer addPersistenceUnit(String persistenceUnit);
+    javax.jdo.JDOEnhancer addClass(String className, byte[] bytes);
+    javax.jdo.JDOEnhancer addClasses(String... classNames);
+    javax.jdo.JDOEnhancer addFiles(String... metadataFiles);
+    javax.jdo.JDOEnhancer addJar(String jarFileName);
+    int enhance();
+    int validate();
+    byte[] getEnhancedBytes(String className);
+    void registerMetadata(javax.jdo.metadata.JDOMetadata metadata);
+    javax.jdo.metadata.JDOMetadata newMetadata();
+} */
\ No newline at end of file



Mime
View raw message