Javassist

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Byte Code » Javassist 
Javassist
License:GNU Library or Lesser General Public License (LGPL)
URL:http://labs.jboss.com/javassist/
Description:Java bytecode manipulation made simple
Package NameComment
javassist The Javassist Core API.

Javassist (Java programming assistant) makes bytecode engineering simple. It is a class library for editing bytecode in Java; it enables Java programs to define a new class at runtime and to modify a given class file when the JVM loads it.

The most significant class of this package is CtClass. See the description of this class first.

To know the version number of this package, type the following command:

    java -jar javassist.jar
    

It prints the version number on the console.

javassist.bytecode Bytecode-level API.

This package provides low-level API for editing a raw class file. It allows the users to read and modify a constant pool entry, a single bytecode instruction, and so on.

The users of this package must know the specifications of class file and Java bytecode. For more details, read this book:

    Tim Lindholm and Frank Yellin, "The Java Virtual Machine Specification 2nd Ed.", Addison-Wesley, 1999.
javassist.bytecode.annotation Bytecode-level Annotations API.

This package provides low-level API for editing annotations attributes.

javassist.compiler
javassist.compiler.ast
javassist.convert
javassist.expr

This package contains the classes for modifying a method body. See ExprEditor (expression editor) for more details.

javassist.runtime Runtime support classes required by modified bytecode.

This package includes support classes that may be required by classes modified with Javassist. Note that most of the modified classes do not require these support classes. See the documentation of every support class to know which kind of modification needs a support class.

javassist.scopedpool

A custom class pool for several JBoss products. It is not part of Javassist.

javassist.tools Covenient tools.
javassist.tools.reflect Runtime Behavioral Reflection.

(also recently known as interceptors or AOP?)

This package enables a metaobject to trap method calls and field accesses on a regular Java object. It provides a class Reflection, which is a main module for implementing runtime behavioral reflection. It also provides a class Loader and Compiler as utilities for dynamically or statically translating a regular class into a reflective class.

An instance of the reflective class is associated with a runtime metaobject and a runtime class metaobject, which control the behavior of that instance. The runtime metaobject is created for every (base-level) instance but the runtime class metaobject is created for every (base-level) class. Metaobject is the root class of the runtime metaobject and ClassMetaobject is the root class of the runtime class metaobject.

This package is provided as a sample implementation of the reflection mechanism with Javassist. All the programs in this package uses only the regular Javassist API; they never call any hidden methods.

The most significant class in this package is Reflection. See the description of this class first.

javassist.tools.rmi Sample implementation of remote method invocation.

This package enables applets to access remote objects running on the web server with regular Java syntax. It is provided as a sample implementation with Javassist. All the programs in this package uses only the regular Javassist API; they never call any hidden methods.

The most significant class of this package is ObjectImporter. See the description of this class first.

javassist.tools.web Simple web server for running sample code.

This package provides a simple web server for sample packages.

javassist.util Utility classes.
javassist.util.proxy Dynamic proxy (similar to Enhancer of cglib). See ProxyFactory for more details.
sample
sample.duplicate
sample.evolve
sample.preproc A sample preprocessor.

The preprocessor for running Javassist at compile time. The produced class files are saved on a local disk.

This package is provided as a sample implementation of the preprocessor using Javassist. All the programs in this package uses only the regular Javassist API; they never call any hidden methods.

sample.reflect
sample.rmi
sample.vector
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.