I have a class as below

```
public class JobThread implements Runnable {

    private JobService jobService;
    private long interval;

    public JobThread(JobService jobService, long interval) {
        this.jobService = jobService;
        this.interval = interval;
    }

    @Override
    public void run() {
      // some stuff
    }
}

```

This is class is doing the work as expected. But i want to make this class as singleton class. Basically this class is consumed by multiple projects through its jar file. The parameters of this class are project specific. However it is meaningless if they have multiple instances of this class as per business logic. So i'm thinking to make this as singleton. So that they cannot create multiple objects for this class. Can some one tell me how to do that?