Java Doc for LocalAspectManager.java in  » Byte-Code » PROSE » ch » ethz » prose » 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.prose 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   ch.ethz.prose.LocalAspectManager

All known Subclasses:   ch.ethz.prose.SecureLocalAspectManager,  ch.ethz.prose.jvmai.jikesrvm.advice_weaver.LocalAdviceAspectManager,  ch.ethz.prose.LocalHotSwapAspectManager,
LocalAspectManager
public class LocalAspectManager implements AspectManager,ClassLoadListener(Code)
Class LocalAspectManager extends AspectManager and implements a local extension manager. Upon creation, a LocalAspectManager registers itself as a listener of class load events into the current JoinPointManager.
version:
   $Revision: 1.2 $
author:
   Andrei Popovici

Inner Class :static class TransactionGroup

Field Summary
static  intABORT
    
static  intCOMMIT
    
protected  JoinPointManagerjpm
    

Constructor Summary
protected  LocalAspectManager(boolean isConnected, JVMAspectInterface ai)
     Create a new LocalAspectManager with no aspects inserted and create a JoinPointManager.

Method Summary
public  voidabort(Object txId)
    
public  voidclassLoaded(Class newClass)
     This method is called every time a new class has been successfully loaded and prepared into the system.
public  voidcommit(Object txId)
    
protected  voidcreateJoinPointManager(boolean isConnected, JVMAspectInterface ai)
     This Method is going to be overwritten from a subclass of LocalAspectManager that wants to register its own JoinPointManager.
public synchronized  voiddoInsertExtension(Aspect ext)
     Insert the extension ext into the extension manager.
public synchronized  voiddoWithdrawExtension(Aspect ext)
    
protected  voidfinalize()
     Remove all inserted extensions from this extension manager, disconnect the joinpoint manager from the JVMAI System and deconstruct it.
public  ListgetAllAspects()
     Return the list of extensions currently inserted into the system.
public  JoinPointManagergetJoinPointManager()
     Return the JoinPointManager of this extension manager.
public  voidinsert(Aspect x, Object txId)
    
public  voidinsert(Aspect x)
    
public  booleanisConnectedToVM()
     Return the boolean status that indicates if this extension manager is connected to the VM through its joinpoint manager or if it is the test manager and has no connection to the VM.
public synchronized  voidstartup()
     This method has to be called before an AspectManager is used.
public synchronized  voidteardown()
     This method has to be called before an AspectManager is destroyed.
public  voidwithdraw(Aspect x, Object txId)
    
public  voidwithdraw(Aspect x)
    

Field Detail
ABORT
static int ABORT(Code)



COMMIT
static int COMMIT(Code)



jpm
protected JoinPointManager jpm(Code)




Constructor Detail
LocalAspectManager
protected LocalAspectManager(boolean isConnected, JVMAspectInterface ai)(Code)
Create a new LocalAspectManager with no aspects inserted and create a JoinPointManager. register this extension manager as a class load listener of the current JoinPointManager.




Method Detail
abort
public void abort(Object txId)(Code)



classLoaded
public void classLoaded(Class newClass)(Code)
This method is called every time a new class has been successfully loaded and prepared into the system. It implements the functionality needed to update the extensions currently inserted into this extension to the current state of the system. For example, if a new class is loaded that contains join-points cross-cut by an existing crosscut E.C, the crosscut in question will be added as a listener of the JoinPointManager.



commit
public void commit(Object txId)(Code)



createJoinPointManager
protected void createJoinPointManager(boolean isConnected, JVMAspectInterface ai)(Code)
This Method is going to be overwritten from a subclass of LocalAspectManager that wants to register its own JoinPointManager.



doInsertExtension
public synchronized void doInsertExtension(Aspect ext) throws AspectManagerException(Code)
Insert the extension ext into the extension manager. This involves registering the ext's crosscut into the current JoinPointManager.



doWithdrawExtension
public synchronized void doWithdrawExtension(Aspect ext)(Code)
Unregister the crosscuts belonging to ext from the corresponding JoinPointManager



finalize
protected void finalize()(Code)
Remove all inserted extensions from this extension manager, disconnect the joinpoint manager from the JVMAI System and deconstruct it.



getAllAspects
public List getAllAspects()(Code)
Return the list of extensions currently inserted into the system.



getJoinPointManager
public JoinPointManager getJoinPointManager()(Code)
Return the JoinPointManager of this extension manager.



insert
public void insert(Aspect x, Object txId)(Code)



insert
public void insert(Aspect x)(Code)



isConnectedToVM
public boolean isConnectedToVM()(Code)
Return the boolean status that indicates if this extension manager is connected to the VM through its joinpoint manager or if it is the test manager and has no connection to the VM.



startup
public synchronized void startup()(Code)
This method has to be called before an AspectManager is used.



teardown
public synchronized void teardown()(Code)
This method has to be called before an AspectManager is destroyed.



withdraw
public void withdraw(Aspect x, Object txId)(Code)



withdraw
public void withdraw(Aspect x)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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