Log in to follow, share, and participate in this community.
Thread Example source code for the CDI Interceptors and Decprators
Example source code for the CDI Interceptors and DecpratorsHi I just read the concept of interceptors. I am looking for the CDI implementation of interceptors either the example described in Weld (Redhat and JBoss) or http://www.caucho.com/articles/JavaE...
Field visibility and aspectHi, if I have a class with an enclosed class like this Class POJO { private String aField; ... class AnotherClass { public void someMethod() { aField = "something"; } } } and I add an aspect at runtime through th...
Jboss AOP classloading bugI'm using JBoss 6.0.0 with AOP for logging user actions and function call durations. Functions of interest are marked by our custom @Trace annotation and there is an our tracing aspect, that do all the work. But somet...
AOP for JBoss web serviceI'm trying to use JBoss AOP to instrument an existing web service that runs in JBoss AS 5.1. Unfortunately, I'm unable to get AOP to work within JBoss, despite having read a substantial amount of documentation and d...
Thread Problem with MessageDigest usage in MethodHashing
Problem with MessageDigest usage in MethodHashingIn class MethodHashing there is code that uses MessageDigest as follows MessageDigest.getInstance("SHA") This works fine with Sun JCE where SHA is defined as an alias to the standard algorithm name SHA...
Acting on class loadHi JBoss AOP folks, My question is the following: Can I use JBoss AOP to act upon a class being loaded? The AOP framework catches this event anyways doesn't it? My particular problem is that I want to enter classes ...
Constructor AdviceI've been writing AOP against actions in my ESB pipeline (as we all now know ) and while writing pointcuts against the process methods works fine, I have a need to have advice around the constructors of the actions s...
Interceptor not Working in JBoss 6.0.0Hi, i am trying to get an application deployed to jboss 6.0.0. I dont know whats wrong. JBoss start without problems. If the Interceptor will called, i'll get the attached exceptions. My jboss...
Thread Adding @Schedule annotation using AOP is not working
Adding @Schedule annotation using AOP is not workingHi, I am trying to create schedule event using EJB3.1 @Schedule annotation. Everything works fine as long as I have the annotation inside my bean. Because I want to be able to change schedule in deploy time wi...
Thread Problems when debug EJB intercepted by JBoss AOP
Problems when debug EJB intercepted by JBoss AOPI am using the JBoss AOP for intercept a static method. The jboss-aop.xml used is: <?xml version="1.0" encoding="UTF-8"?> <aop xmlns="urn:jboss:aop-beans:1.0"> <interceptor...
Thread Intercepted no-interface beans have problem to be injected?
Intercepted no-interface beans have problem to be injected?Hi, I want to create my first interceptor for logging elapsed time of methods. Everything is fine for stateless session bean TestBeanA which has explicitly defined local interface. But usage of no-interface session...
Deploy AOP to jboss 5.1Hi, I am trying to get my aop deployed to jboss 5.1. I have written an annotation, aspect, and jboss-aop.xml. I have verified that the aspect code gets executed when a method is annotated with the JobFlow annotation ...
-javaagent problemhi!! What is this error please "FATAL ERROR in native method: processing of -javaagent failed" I created two examples, the first works fine but the second shows me this error Tahnk you
Thread JBoss AS 5.1 Remote EJB calls not being intercepted
JBoss AS 5.1 Remote EJB calls not being interceptedI have a Stateless EJB/ WebService that I have added a Aspect and a corresponding jboss-aop.xml to so I can get information about calls made to the public interface of the service. It appears though that r...
pointcut expression for array return typesHi, What is the pointcut expression for return types of array? Adding an expression like com.test.someObject[] for array return types does not seem to be working although parameters of array types are working ...
Thread NullPointerException in MethodJoinPointGenerator
NullPointerException in MethodJoinPointGeneratorHi! I'm experiencing a strange problem with JBoss AOP, with JBoss 5.1.0 EAP. Here is a part of my aop.xml file, in the bootstrap directory: <bean name="AspectManager" class="org...
Problems with runtime weaving and typedefsHi, I've a problem with runtime weaving of an enterprise application leading to a hard crash of the java runtime. There is an error entry in the server log, telling that he is not able to load a transformed cl...