"Scott" wrote : Ales did the dispatch work, so I'm not sure how the
component registry
| is being maintained. The getComponentName method relies on the
| ManagedObject.targetManagedObject setting, and this relies on the
| @ManagementObjectRef/@ManagementObjectID annotations for the relations.
|
| When you say connection factories, what property are you talking about?
| A connection factory should have a component name based on its
| @ManagementObjectID. The logic in getComponentName should also be
| considering ManagedObjects with a proper name as a connection factory
| would, based on its jndiName property:
|
| @ManagementProperty(name="jndi-name", description="The global JNDI
| name to bind the factory under")
| @ManagementObjectID(type="DataSource")
| public String getJndiName()
| {
| return jndiName;
| }
|
| Looking at the logic for setting the ManagedObject.setComponentName
| value, the componentName relies on a ManagementRuntimeRef. This is
| something Ales added. Let's move this discussion to the forum as there
| needs to be a general understanding of how ManagedObjects are named and
| referenced.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114514#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...