The name of the ManagedObject is generally not useful for referencing as its a
DeploymentUnit attachment name. This is not usable for a datasource referencing a security
domain whose deployment type and attachment type won't be known.
You don't think the Name type belongs here, the ManagedObjectRegistry, or both?
I don't expect that there will be a bus in the managed project, just the spi to allow
references to be resolved.
Its also not sufficient to just have the name in the registry. I also need to be able to
validate that the source the name is bound to supports the expected property type. I guess
this requires the use of the GenericMetaType on the property and source to check that the
expected type exists. However, if the source supports an extension of an interface the
property wants, this cannot be determined from the classname comparision GenericMetaType
supports. The source would have to declare a GenericMetaType for each interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070169#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...