|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.services.ServiceManager
public class ServiceManager
The Class ServiceManager.
| Method Summary | |
|---|---|
SynergyNetService |
get(java.lang.Class<? extends SynergyNetService> theClass)
Gets the. |
static ServiceManager |
getInstance()
Gets the single instance of ServiceManager. |
void |
loadFromConfiguration(java.io.InputStream configXMLInputStream)
Load from configuration. |
void |
shutdown()
Shutdown. |
void |
unregister(java.lang.String classname)
Unregister. |
void |
update()
Update. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServiceManager getInstance()
public SynergyNetService get(java.lang.Class<? extends SynergyNetService> theClass)
throws CouldNotStartServiceException
theClass - the the class
CouldNotStartServiceException - the could not start service exception
public void loadFromConfiguration(java.io.InputStream configXMLInputStream)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
configXMLInputStream - the config xml input stream
org.xml.sax.SAXException - the SAX exception
java.io.IOException - Signals that an I/O exception has occurred.
javax.xml.parsers.ParserConfigurationException - the parser configuration exception
java.lang.InstantiationException - the instantiation exception
java.lang.IllegalAccessException - the illegal access exception
java.lang.ClassNotFoundException - the class not found exceptionpublic void shutdown()
public void unregister(java.lang.String classname)
classname - the classnamepublic void update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||