Announcement Announcement Module
Collapse
No announcement yet.
How I can stop service ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 01:46 AM.

  • #2
    Use Adapter

    try with AbstractPollingEndPoint

    Comment

    Working...
    X