On 5/12/11 8:18 AM, Jesper Pedersen wrote:
On Thursday, May 12, 2011 02:05:02 AM Stefano Maestri wrote:
> 2) at DUP level /deployment=foo.rar Having this deployment support we
> can remove the current operation in /subsystem=resource-adapters that is
> redudant, referring the same RA (or better a subset of deployed ones)
Just remember that there can be multiple deployments of a resource adapter -
each configured differently.
So that needs to be part of the key.
A deployment has a user-defined "unique name" which is a management
notion and which must be unique within the management system. They also
have a "runtime name", which is the name deployers etc use as the EE
application/module name. So two versions of a rar could have unique
names "foo.rar.v1" and "foo.rar.v2" but both have runtime names
"foo.rar". The resource address uses the unique name, so
/deployment=foo.rar.v1.
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat