admin@glassfish.java.net

Re: Scoping a service to the DAS?

From: Jerome Dochez <jerome.dochez_at_oracle.com>
Date: Thu, 11 Nov 2010 16:54:07 -0800

no not so far. The only way to do that is to test for the server type in the postConstruct and do nothing when it is not the DAS.
you should file an RFE.

On Nov 11, 2010, at 2:42 PM, Chris Kasso wrote:

> Is there a way to scope the start up of a service to only the DAS?
>
> I am looking for something similar to @ExecuteOn(RuntimeType.DAS)
> that could be used to limit a PostStartup service to only being
> instantiated on the DAS.
>
> Chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>