[jboss-dev-forums] [Design of POJO Server] - Re: Pushing correct aspect manager for a deployment

kabir.khan@jboss.com do-not-reply at jboss.com
Mon Aug 4 12:45:04 EDT 2008


I have attempted to add the correct manager to the metadata for the deployment in my deployer

  |       unit.getMutableMetaData().addMetaData(scopedManager, AspectManager.class);
  | 

This gets added to a MemoryMetaDataLoader with 

  | ScopeKey=[APPLICATION=vfszip:/Users/kabir/sourcecontrol/jboss-head/testsuite/output/lib/aop-scopeddependency-scoped.sar]
  | 

However, the bean's MetaData does not contain that, it only contains MetaDataRetrievals for the following levels:

  | WORK=10814978]
  | [INSTANCE=ScopedManager_6_vfszip:/Users/kabir/sourcecontrol/jboss-head/testsuite/output/lib/aop-scopeddependency-scoped.sar]
  | [CLASS=class org.jboss.test.aop.scopeddependency.ScopedTester]
  | [JVM=THIS]
  | 
Is this a bug, or have I completely misunderstood?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168518#4168518

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168518



More information about the jboss-dev-forums mailing list