The domain/cluster/server keys should in some way be implicit.
We will also probably need a kind of default application
(at leat transitionally) since there are
many examples currently where MBeans get registered
programmatically without them really saying what application they belong to.
"adrian@jboss.org" wrote:
So we still haven't defined what the names mean.
I'm assuming from Scott said the Microcontainer names map to:
Application == KernelDeployment
Deployment == BeanMetaData/KernelControllerContext
This is a bit confusing.
"adrian@jboss.org" wrote:
The domain/cluster/server keys should in some way be implicit.
We will also probably need a kind of default application
(at leat transitionally) since there are
many examples currently where MBeans get registered
programmatically without them really saying what application they belong to.
"kabir.khan@jboss.com" wrote:
Should the following work (it doesn't), or do we always need to specify something for all parent levels of the scope?:BasicKernelRepository bkp = new BasicKernelRepository(); HashMap attrs = new HashMap(); scope.put(CommonNames.DEPLOYMENT, "MyBean"); Key key = new Key("permissions", attrs); BasicMetaData data = new BasicMetaData(0, "test"); bkp.addMetaData(key, data); Object stored = bkp.getMetaData(key); assertEquals(stored, "test");