Thank you so much! I tried Command line client and saw all functionalities we needed were
there. That's great.
I have another question for the piece of codes in management API document. How to get
"domainController" instance in below codes?
EntityAddress address =
EntityAddress.fromString("profile/web/subsystem/foobar");
MetaValue foo = createFooMetaValue();
MetaValue bar = createFooMetaValue();
domainController.invokeOnDomain("setFooBar", address, foo, bar);
Besides, I can't find which JBoss module implements the "EntityAddress"
class. Is there a complete sample to demonstrate how to use management API to retrieve
specific attribute or invoke an operation upon specific managed resource?
Thank you!
Regards,
Bill
-----Original Message-----
From: jboss-as7-dev-bounces(a)lists.jboss.org [mailto:jboss-as7-dev-bounces@lists.jboss.org]
On Behalf Of Jason T. Greene
Sent: Tuesday, August 16, 2011 4:11 AM
To: Jesper Pedersen
Cc: jboss-as7-dev(a)lists.jboss.org
Subject: Re: [jboss-as7-dev] How to start/stop/reset connection pool by java program in
AS7?
On 8/15/11 3:02 PM, Jason T. Greene wrote:
On 8/15/11 2:54 PM, Jason T. Greene wrote:
> On 8/15/11 2:52 PM, Jason T. Greene wrote:
>> On 8/15/11 2:30 PM, Jesper Pedersen wrote:
>>> The admin console isn't done yet - use the command line client to see
>>> the
>>> functionality that is available today:
>>
>> It obviously can't flush a db pool if there isn't a management operation
>> to do that.
>
> BTW to avoid misleading everyone I will say that the admin console
> displays nearly everything (if not everything) the JCA subsystem
> currently exposes.
That should read datasource subsystem...
Correction the operation does exist:
flush-all-connections-in-pool and flush-idle-connections-in-pool
So it is just the console update that is needed. Sorry for the
misinformation.
--
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
CONFIDENTIALITY NOTICE
This e-mail message from Delphi Technology, Inc. is intended only for the individual or
entity to which it is addressed. This e-mail may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you received this e-mail by accident, please
notify the sender immediately and destroy this e-mail and all copies of it.