• MutableAttachments.addAttachment is counter-intuitive

    The MutableAttachments API defines a lot of addAttachment functions, which should actually be named setAttachment. Because I'm not adding (another) attachment named <name>, but overriding any previous attachmen...
    Profile Photo
    last modified by wolfc
  • Deployer ordering issue for EJB/JAX-RS/WAR?

    JAX-RS needs to scan for EJBs within a WAR that might expose JAX-RS endpoints.  Right now, EJBs are in the same DU as the WAR.  The question I have is, what happens when EJBs become a child DU of the WAR?...
    Profile Photo
    last modified by bill.burke
  • another annotation scanner requirement

    My first question is, what is the right API to write a deployer that scans annotations?  AnnotationEnvironment?  Or is there a new one coming down the pipe?   Also, I need a new feature.  A query ...
    Profile Photo
    last modified by bill.burke
  • Optimizing aop lifecycle

    My original plan was to just hard-code the annotation plugins on startup, but I then realised that we probably still want to be able to deploy them. So, when this is parsed:   <lifecycle-configure   ...
    Profile Photo
    last modified by kabirkhan
  • Need ClassFilterUtils.JDK6 ?

    ClassFilterUtils provides for:   public static final ClassFilter JAVA_ONLY = JavaOnlyClassFilter.INSTANCE;  ...where: private JavaOnlyClassFilter()    {       super(new S...
    Profile Photo
    last modified by alrubinger
  • Supporting qualifiers in MC

    Following our Skype chat I have had a quick look at Supply/Demand and how to support qualifiers. We could do something like: *As you mentioned add a enum type to Supply/DemandMetaData so we can see which supplies/dem...
    Profile Photo
    last modified by kabirkhan
  • Installing a context leads to resolve of other unrelated con

    I was looking at the deployment framework/MC kernel flow and noticed this code in the AbstractController: public void install(ControllerContext context) throws Throwable { // removed irrelevant code from forum pos...
    Profile Photo
    last modified by jaikiran
  • Supporting OSGi properties via qualifiers

    From this discussion: http://community.jboss.org/message/316405#316405   I have taken a look at qualifiers, and it looks like we need to make the qualifier resolution algorithm pluggable.   For example, th...
    Profile Photo
    last modified by kabirkhan
  • Deployers Sorting

    https://jira.jboss.org/jira/browse/JBDEPLOY-230   I've added a stress test:   http://anonsvn.jboss.org/repos/jbossas/projects/reloaded/trunk/vdf-bootstrap-minimal/src/test/java/DeployersOrderingStressUnitT...
    Profile Photo
    last modified by alrubinger
  • Testing ClassPools on AS Trunk

    I am testing jboss-classpool/jboss-aop (branch classpool_JBAOP-742) on AS trunk.   Most of JBoss AOP tests pass, but I'm seeing one failure: NotFoundException for org.jboss.system.Service.   The cause of t...
    Profile Photo
    last modified by flavia.rainone
  • Testing Deployers with new Reflect + ClassPool

    Reporting my findings on the new ClassPoolTestCase: - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTestCase.ja...
    Profile Photo
    last modified by alesj
  • Adding getAnnotationsAnnotatedWith() to MDR

    As mentioned here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163887&start=10 "alesj" wrote: "kabir.khan@jboss.com" wrote: Since most qualifiers I've seen (in jsr-299 and jsr-330) are picked...
    Profile Photo
    last modified by kabirkhan
  • Old UCL Repository containing URLClassLoader references

    Yesterday, when I was finishing up the cleanup of the classpool tests (JBREFLECT-74), I found a test that was being run only on the sanity test case but not on the classpool test. The new structure of the tests allow...
    Profile Photo
    last modified by flavia.rainone
  • BeanAnnotationAdapter/AnnotationPlugin

    1) The BeanAnnotationAdapter currently does this for each bean class/constructor/property/parameter: AnnotatedInfo info = class/constructor/property MetaDataRetrieval retrieval = //MDR for class/constructor/propert...
    Profile Photo
    last modified by kabirkhan
  • VFS deployers and CL behaviour

    During debugging of the class pool/vfs tests, two things called my attention: - the call to Module.reset() is duplicated.AbstractLevelClassLoaderSystemDeployer.removeClassLoader() directly invokes reset; and VFSClass...
    Profile Photo
    last modified by flavia.rainone
  • MemoryMetaDataLoader not threadsafe?

    Although it will not happen when describing this metadata class, the following does not look very thread safe to me. @Override public void describeVisit(MetaDataVisitor vistor) { super.describeVisit(vistor); K...
    Profile Photo
    last modified by kabirkhan
  • Bug in Microtainer - recursive resoltion

    I found a bug yesterday while doing the 'lazy resolve" feature for the classloading. The issue is that we avoid recursive processing of a ControllerContext by adding them to the "installing" Set inside AbstractContro...
    Profile Photo
    last modified by adrian.brock
  • New features in classloading

    I've started committing some work on adding the missing OSGi features to jboss-cl. The first couple are complete: JBCL-127 - adds a notion of ClassNotFoundHandler. This allows a handler to intercept a dynamic classl...
    Profile Photo
    last modified by adrian.brock
  • Non-public field properties

    Back to the problem from earlier: public class SimpleFieldBean { @Inject public Simple field; public Simple getField() { return field; } } The issue is that if the field is public it works and PropertyInfo ...
    Profile Photo
    last modified by kabirkhan
  • Dependency on non-existant bean when trying to create

    What's wrong with this? Attempting to add the intermediate bean mentioned in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162791. I found that adding BeanMetaData as a property to a bean seems to c...
    Profile Photo
    last modified by kabirkhan