Results 1 to 2 of 2

Thread: How I can stop service ?

  1. #1
    Join Date
    Sep 2011
    Posts
    2

    Default How I can stop service ?

    Hello!

    I develop MXBean that will manage services.
    I have some services, which are available in my MXBean by rmi.

    How I can stop them?

    If my bean implements interface Lifecycle, what I have to write in stop method implementation?

    public class MyBean implements Lifecycle {

    public void stop() {

    // what would be here ???

    }
    }
    Last edited by CHEM_Eugene; Sep 9th, 2011 at 01:46 AM.

  2. #2
    Join Date
    Dec 2011
    Posts
    6

    Default Use Adapter

    try with AbstractPollingEndPoint

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •