• Example source code for the CDI  Interceptors and Decprators

    Hi     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...
    Profile Photo
    created by usydrajani
  • Getting error while deploying aspectized war file on Jboss 5.0  - ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/jboss....jboss-aop.xml state=Not Installed mode=Manual requiredState=Parse

    Hi, I am new to AOP. I have a web application that has been aspectized using jboss-aop-2.0.0.GA.. I am using compile time weaving method. I have created a web archive(war) that contains the aspectized classes. ...
    Profile Photo
    last modified by dmishra1
  • Field visibility and aspect

    Hi, 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...
    Profile Photo
    last modified by mane81
  • Jboss AOP classloading bug

    I'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...
    Profile Photo
    last modified by ud1
  • AOP for JBoss web service

    I'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...
    Profile Photo
    created by eutaxy
  • Problem with MessageDigest usage in MethodHashing

    In 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...
    Profile Photo
    created by y360c
  • Acting on class load

    Hi 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 ...
    Profile Photo
    last modified by fbrueseke
  • Constructor Advice

    I'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...
    Profile Photo
    last modified by codefox
  • Interceptor not Working in JBoss 6.0.0

    Hi,   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...
    Profile Photo
    created by chris.schauer
  • Adding @Schedule annotation using AOP is not working

    Hi,   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...
    Profile Photo
    created by emanovic
  • Problems when debug EJB intercepted by JBoss AOP

    I 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...
    Profile Photo
    created by gustavo.gomesc
  • 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...
    Profile Photo
    created by fekete_kamosh
  • Deploy AOP to jboss 5.1

    Hi, 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 ...
    Profile Photo
    last modified by kgreene
  • -javaagent problem

    hi!! 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
    Profile Photo
    last modified by hsma
  • JBoss AS 5.1 Remote EJB calls not being intercepted

    I 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...
    Profile Photo
    created by robert.m.goodwin
  • pointcut expression for array return types

    Hi,   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 ...
    Profile Photo
    last modified by vimalan
  • Jboss and MultiThreading

    Hii,   My question is:   is jboss supports the multithreading ? if so, how ?   imen thanks
    Profile Photo
    created by imen_pfe
  • NullPointerException in MethodJoinPointGenerator

    Hi!   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...
    Profile Photo
    last modified by spennec
  • How can I intercept methods in java.net.* or javax.*.*?

    I found this method in the SystemClassLoader.java (JBoss AOP source code)      /**     * Load jre classes from the parent classloader     *     * @param ...
    Profile Photo
    last modified by m.azarmi
  • Problems with runtime weaving and typedefs

    Hi,   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...
    Profile Photo
    created by berber