That makes sense.  I'll provide uniqueness through a property on the
ObjectName (UUID) and discoverability though the domain name if a name is
provided (so it will be easily apparent in the management system).  A
resultant ObjectName like:
domain=[optionalProvidedName||org.apache.commons.pool.poolType]:uuid=[uuidValue]

Sound good?

Thanks for the feedback!

S

On Wed, Nov 3, 2010 at 12:04 PM, James Carman <ja...@carmanconsulting.com>wrote:

> On Wed, Nov 3, 2010 at 11:51 AM, Steven Siebert <smsi...@gmail.com> wrote:
> > I considered this, but the problem would be finding/viewing the specific
> > pool in the JMX management app (ie jconsole).  A GUID gives us
> uniqueness,
> > but it doesn't give us the descriptive name.  This has to do with
> ObjectName
> > given when registering the MBean...
> >
>
> Just don't rely on the name as the uniqueness.  I'd say have both.
> Use the UUID to determine exactly which one you're talking about, but
> use the name when displaying it to the user.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to