From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../com/sleepycat/persist/model/ClassEnhancer.html | 786 ++++++++++----------- 1 file changed, 378 insertions(+), 408 deletions(-) (limited to 'docs/java/com/sleepycat/persist/model/ClassEnhancer.html') diff --git a/docs/java/com/sleepycat/persist/model/ClassEnhancer.html b/docs/java/com/sleepycat/persist/model/ClassEnhancer.html index 04a9bc95..e4ef6bff 100644 --- a/docs/java/com/sleepycat/persist/model/ClassEnhancer.html +++ b/docs/java/com/sleepycat/persist/model/ClassEnhancer.html @@ -1,113 +1,113 @@ - - - - - -ClassEnhancer (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.persist.model -
-Class ClassEnhancer

-
-java.lang.Object
-  extended by com.sleepycat.persist.model.ClassEnhancer
-
-
-
All Implemented Interfaces:
ClassFileTransformer
-
-
-
-
public class ClassEnhancer
extends Object
implements ClassFileTransformer
- - -

-Enhances the bytecode of persistent classes to provide efficient access to +

+
com.sleepycat.persist.model
+

Class ClassEnhancer

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.instrument.ClassFileTransformer
    +
    +
    +
    +
    public class ClassEnhancer
    +extends java.lang.Object
    +implements java.lang.instrument.ClassFileTransformer
    +
    Enhances the bytecode of persistent classes to provide efficient access to fields and constructors, and to avoid special security policy settings for accessing non-public members. Classes are enhanced if they are annotated - with Entity or Persistent. + with Entity or Persistent.

    ClassEnhancer objects are thread-safe. Multiple threads may safely call the methods of a shared ClassEnhancer object.

    @@ -116,8 +116,8 @@ Enhances the bytecode of persistent classes to provide efficient access to href="../package-summary.html#bytecode">package summary, bytecode enhancement may be used either at runtime or offline (at build time).

    -

    To use enhancement offline, this class may be used as a main - program. +

    To use enhancement offline, this class may be used as a main + program.

    For enhancement at runtime, this class provides the low level support @@ -134,164 +134,154 @@ Enhances the bytecode of persistent classes to provide efficient access to

    The "-v" option may be included in the comma separated list to print the name of each class that is enhanced.


  • -
  • The enhance(java.lang.String, byte[]) method may be called to implement a class loader +
  • The enhance(java.lang.String, byte[]) method may be called to implement a class loader that performs enhancement. Using this approach, it is the developer's responsibility to implement and configure the class loader.
  • - -

    - -

    -


    - -

    - +

+ + +
+
+ +
+
+ + + - - - - - - -
-Method Detail
- -

-main

-
-public static void main(String[] args)
-                 throws Exception
-
-
Enhances classes in the directories specified. The class files are +
-
-
- -

-premain

-
-public static void premain(String args,
-                           Instrumentation inst)
-
-
Enhances classes as specified by a JVM -javaagent argument. -

-

-
-
-
-
See Also:
Instrumentation
-
-
-
- -

-setVerbose

-
-public void setVerbose(boolean verbose)
-
-
Sets verbose mode. + -v may be included to print the name of every class file enhanced.
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1