If you have an application that uses classloader isolation, as long as you have prepared your classes, you can later attach an AOP file to that deployment. If we have an EAR file scoped using a
jboss-app.xml file, with the scoped loader repository
We can later deploy an AOP file containing aspects and configuration to attach that deployment to the scoped EAR. This is done using the
loader-repository tag in the AOP file's
<?xml version="1.0" encoding="UTF-8"?>
<!-- Aspects and bindings -->
This has the same effect as deploying the AOP file as part of the EAR as we saw previously, but allows you to hot deploy aspects into your scoped application.