Java Doc for MethodWeaver.java in  » Byte-Code » PROSE » ch » ethz » jvmai » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » PROSE » ch.ethz.jvmai 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


ch.ethz.jvmai.MethodWeaver

MethodWeaver
public interface MethodWeaver (Code)


Field Summary
final public static  intMWEAVER_STATUS_ENTRY_ENABLED
    
final public static  intMWEAVER_STATUS_EXIT_ENABLED
    
final public static  intMWEAVER_STATUS_HAS_EXCEPTION_CATCH_WATCH
    
final public static  intMWEAVER_STATUS_HAS_EXCEPTION_THROW_WATCH
    
final public static  intMWEAVER_STATUS_HAS_FIELD_ACCESS_WATCH
    
final public static  intMWEAVER_STATUS_HAS_FIELD_MODIFICATION_WATCH
    
final public static  intMWEAVER_STATUS_HAS_METHOD_CALL_WATCH
    
final public static  intMWEAVER_STATUS_HAS_METHOD_RETURN_WATCH
    
final public static  intMWEAVER_STATUS_REDEFINE
    
final public static  intMWEAVER_STATUS_UNCHANGED
    


Method Summary
public  voidaddFieldAccessor(HotSwapFieldWeaver f)
     Add a field for which a callback should be woven (for each access).
public  voidaddFieldModifier(HotSwapFieldWeaver f)
     Add a field for which a callback should be woven (for each modification).
public  voidaddMethodCall(Method m)
     Add a method for which a callback should be woven (before each call).
public  voidaddMethodReturn(Method m)
     Add a method for which a callback should be woven (after each call).
public  intgetStatus()
     Returns the status of this weaver.
public  MembergetTarget()
     Returns the method bound to this weaver.
public  intgetTargetId()
     Return the identifier of the method bound to this weaver.
public  voidremoveFieldAccessor(HotSwapFieldWeaver f)
     Remove a field for which a callback was woven (for each access).
public  voidremoveFieldModifier(HotSwapFieldWeaver f)
     Remove a field for which a callback was woven (for each modification).
public  voidremoveMethodCall(Method m)
     Remove a method for which a callback was woven (before each call).
public  voidremoveMethodReturn(Method m)
     Remove a method for which a callback was woven (after each call).
public  voidsetMethodEntryEnabled(boolean flag)
     Enable method entry join point.
public  voidsetMethodExitEnabled(boolean flag)
     Enable method entry join point.
public  voidsetRedefineAdvice(Member advice)
     Redefine the method in this weaver.

Field Detail
MWEAVER_STATUS_ENTRY_ENABLED
final public static int MWEAVER_STATUS_ENTRY_ENABLED(Code)



MWEAVER_STATUS_EXIT_ENABLED
final public static int MWEAVER_STATUS_EXIT_ENABLED(Code)



MWEAVER_STATUS_HAS_EXCEPTION_CATCH_WATCH
final public static int MWEAVER_STATUS_HAS_EXCEPTION_CATCH_WATCH(Code)



MWEAVER_STATUS_HAS_EXCEPTION_THROW_WATCH
final public static int MWEAVER_STATUS_HAS_EXCEPTION_THROW_WATCH(Code)



MWEAVER_STATUS_HAS_FIELD_ACCESS_WATCH
final public static int MWEAVER_STATUS_HAS_FIELD_ACCESS_WATCH(Code)



MWEAVER_STATUS_HAS_FIELD_MODIFICATION_WATCH
final public static int MWEAVER_STATUS_HAS_FIELD_MODIFICATION_WATCH(Code)



MWEAVER_STATUS_HAS_METHOD_CALL_WATCH
final public static int MWEAVER_STATUS_HAS_METHOD_CALL_WATCH(Code)



MWEAVER_STATUS_HAS_METHOD_RETURN_WATCH
final public static int MWEAVER_STATUS_HAS_METHOD_RETURN_WATCH(Code)



MWEAVER_STATUS_REDEFINE
final public static int MWEAVER_STATUS_REDEFINE(Code)



MWEAVER_STATUS_UNCHANGED
final public static int MWEAVER_STATUS_UNCHANGED(Code)





Method Detail
addFieldAccessor
public void addFieldAccessor(HotSwapFieldWeaver f)(Code)
Add a field for which a callback should be woven (for each access).
Parameters:
  f - watched field



addFieldModifier
public void addFieldModifier(HotSwapFieldWeaver f)(Code)
Add a field for which a callback should be woven (for each modification).
Parameters:
  f - watched field



addMethodCall
public void addMethodCall(Method m)(Code)
Add a method for which a callback should be woven (before each call).
Parameters:
  m - watched method



addMethodReturn
public void addMethodReturn(Method m)(Code)
Add a method for which a callback should be woven (after each call).
Parameters:
  m - watched method



getStatus
public int getStatus()(Code)
Returns the status of this weaver. int status



getTarget
public Member getTarget()(Code)
Returns the method bound to this weaver. Method bound to this weaver.



getTargetId
public int getTargetId()(Code)
Return the identifier of the method bound to this weaver. identifier of the method bound to this weaver.



removeFieldAccessor
public void removeFieldAccessor(HotSwapFieldWeaver f)(Code)
Remove a field for which a callback was woven (for each access).
Parameters:
  f - watched field



removeFieldModifier
public void removeFieldModifier(HotSwapFieldWeaver f)(Code)
Remove a field for which a callback was woven (for each modification).
Parameters:
  f - watched field



removeMethodCall
public void removeMethodCall(Method m)(Code)
Remove a method for which a callback was woven (before each call).
Parameters:
  m - watched method



removeMethodReturn
public void removeMethodReturn(Method m)(Code)
Remove a method for which a callback was woven (after each call).
Parameters:
  m - watched method



setMethodEntryEnabled
public void setMethodEntryEnabled(boolean flag)(Code)
Enable method entry join point.
Parameters:
  flag - enable/disable



setMethodExitEnabled
public void setMethodExitEnabled(boolean flag)(Code)
Enable method entry join point.
Parameters:
  flag - enable/disable



setRedefineAdvice
public void setRedefineAdvice(Member advice)(Code)
Redefine the method in this weaver.
Parameters:
  advice - method that will be called insteador null to reset a redefined method.



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