admin@glassfish.java.net

Re: Scoping a service to the DAS?

From: Chris Kasso <chris.kasso_at_oracle.com>
Date: Fri, 12 Nov 2010 10:05:25 -0800

Jerome Dochez wrote:
> 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.
>

Done. https://glassfish.dev.java.net/issues/show_bug.cgi?id=14649

Chris
> 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
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>