Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Is it possible to weave 2 different classes ?(Weaving different class not main class only)
Is it possible to weave 2 different classes ? [message #1841424] Sun, 16 May 2021 07:10 Go to next message
Gianluca Zahra is currently offline Gianluca ZahraFriend
Messages: 2
Registered: May 2021
Junior Member
Is it possible to weave 2 different classes ?

i.e. Weave the main Class of a project and another class, so pointcuts :

a.hello(){
println("Say Hello")
}
b.bye(){
println("Say Bye")
}


Is this possible please ?
Re: Is it possible to weave 2 different classes ? [message #1861463 is a reply to message #1841424] Fri, 13 October 2023 19:16 Go to previous messageGo to next message
Jack Jones is currently offline Jack JonesFriend
Messages: 24
Registered: September 2023
Junior Member
If you can, get to know the unique services of this team third party api integration. The guys really cope with the most complex IT solutions. And they find the simplest methods of implementing amazing projects. Just look at examples of their work and their clients and I think everything will become clear.

[Updated on: Mon, 16 October 2023 19:50]

Report message to a moderator

Re: Is it possible to weave 2 different classes ? [message #1861730 is a reply to message #1841424] Tue, 31 October 2023 10:23 Go to previous message
Tolana Audery is currently offline Tolana AuderyFriend
Messages: 4
Registered: October 2023
Junior Member
Yes, it is possible to weave two different classes. This can be done using a technique called Aspect Oriented Programming (AOP). AOP is a programming paradigm that allows you to add additional functionality to your code without modifying the code itself.

To weave two different classes, you would use an AOP weaver. An AOP weaver is a tool that can generate new code that intercepts and modifies the execution of your existing code.
Previous Topic:Sharing aspecs between src and test module?
Goto Forum:
  


Current Time: Sat Nov 11 06:36:55 GMT 2023

Powered by FUDForum. Page generated in 0.02136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top