dev@glassfish.java.net

Re: limitations of list commands for resources

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 10 Apr 2008 10:34:20 -0700

I've made some progress on dotted names, but I have 5 bugs to fix for
GUI today.

Still, I hope to have some functionality available by Friday 3/11.

Lloyd

On Apr 8, 2008, at 1:13 PM, Peter Williams wrote:
> get/set on a particular named resource would be fine.
>
> So this is a post-TP2 feature? Or when?
>
> -Peter
>
> Sreenivas Munnangi wrote:
>> Peter Williams wrote:
>>> The list-???-resources commands (list-jdbc-resources, list-jdbc-
>>> connection-pools, etc.) return only the name of the resource. No
>>> properties at all.
>>>
>>> When calling this command from NetBeans, I would to get the
>>> properties. Particularly the attributes of a jdbc-resource (jndi-
>>> name, connection-pool assignment, enabled flag).
>> In V2 you could get properties using get/set commands <http://docs.sun.com/app/docs/doc/819-3671/gcnuf?a=view
>> >, similar functionality is planned in V3.
>> cc->Kedar.
>>
>> for example:
>>
>> asadmin> get domain.resources.jdbc-resource.jdbc\/__default.*
>> domain.resources.jdbc-resource.jdbc/__default.description =
>> domain.resources.jdbc-resource.jdbc/__default.enabled = true
>> domain.resources.jdbc-resource.jdbc/__default.jndi-name = jdbc/
>> __default
>> domain.resources.jdbc-resource.jdbc/__default.object-type = user
>> domain.resources.jdbc-resource.jdbc/__default.pool-name = DerbyPool
>> asadmin>
>>
>>>
>>> Would this be possible?
>>>
>>> -Peter
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc