Community
Participate
Working Groups
The interface would allow an aspect to supply a factory for JoinPoint objects to be passed to the advice it declares. It would only allow custom JoinPoint rather than custom JoinPoint.Static part instances as the latter must be shared and duplication would be expensive and complex to manage. The interface might take to form of a JoinPoinFactoryProvider Java interface where the aspect returns a sub-class of org.aspectj.runtime.reflect.Factory (although this class is currently final and rather cryptic/complex): public aspect FlightRecorder implements JoinPointFactoryProvider { purblic Factory getJoinPointFactory (...) { ... } } See http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg06808.html for possible uses cases.