title: How to reload a specific service in java?
body: <p>How can I reload just specific <code>.class</code> without having to restart the entire program? Is it possible to achieve that using <code>public void reload ()</code>? If it is, then how am I going to declare that? I want to restart my .class files (service.class) using <code>service.getinstance ().reload()</code> as trigger if possible.</p>