Log in to follow, share, and participate in this community.
Thread MutableAttachments.addAttachment is counter-intuitive
MutableAttachments.addAttachment is counter-intuitiveThe 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...
Thread Deployer ordering issue for EJB/JAX-RS/WAR?
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?...
another annotation scanner requirementMy 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 ...
Optimizing aop lifecycleMy 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
...
Supporting qualifiers in MCFollowing 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...
Thread Installing a context leads to resolve of other unrelated con
Installing a context leads to resolve of other unrelated conI 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...
Supporting OSGi properties via qualifiersFrom 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...
Testing ClassPools on AS TrunkI 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...
Thread Testing Deployers with new Reflect + ClassPool
Testing Deployers with new Reflect + ClassPoolReporting 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...
Thread Adding getAnnotationsAnnotatedWith() to MDR
Adding getAnnotationsAnnotatedWith() to MDRAs 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...
Thread Old UCL Repository containing URLClassLoader references
Old UCL Repository containing URLClassLoader referencesYesterday, 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...
BeanAnnotationAdapter/AnnotationPlugin1) The BeanAnnotationAdapter currently does this for each bean class/constructor/property/parameter:
AnnotatedInfo info = class/constructor/property
MetaDataRetrieval retrieval = //MDR for class/constructor/propert...
VFS deployers and CL behaviourDuring 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...
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...
Bug in Microtainer - recursive resoltionI 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...
New features in classloadingI'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...
Non-public field propertiesBack 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 ...
Thread Dependency on non-existant bean when trying to create
Dependency on non-existant bean when trying to createWhat'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...