The Guava Service framework has abstract implementations that support a
variety of service styles. This javadoc page is a good place to start:

http://docs.guava-libraries.googlecode.com/git-history/v10.0/javadoc/com/google/common/util/concurrent/Service.html

--tim

On Tue, Oct 4, 2011 at 6:19 PM, Basil Musa <[email protected]> wrote:

> The following page mentions how a Service interface can be used to
> have module initialization and destruction:
>
>
> http://code.google.com/p/google-guice/wiki/ModulesShouldBeFastAndSideEffectFree
>
> However, I'm looking for a concise example which shows a sample of
> what the start() and stop() methods' implementation should contain.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-guice?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to