|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fulcrum.BaseService
org.tigris.scarab.services.TorqueService
Turbine does not yet have a way to initialize components directly, and use of fulcrum's DatabaseService causes fulcrum to try to treat all the Managers as services. So this service is used to initialize Torque. It also creates an instance of each scarab om object to avoid deadlock.
| Field Summary |
| Fields inherited from class org.apache.fulcrum.BaseService |
configuration, isInitialized, name, serviceBroker |
| Fields inherited from interface org.apache.fulcrum.Service |
SERVICE_NAME |
| Constructor Summary | |
TorqueService()
|
|
| Method Summary | |
void |
init()
Initializes the service by setting up Torque. |
protected void |
loadOM()
This method loads all the classes in the org.tigris.scarab.om package. |
void |
shutdown()
Shuts down the service. |
| Methods inherited from class org.apache.fulcrum.BaseService |
getCategory, getConfiguration, getInit, getName, getRealPath, getServiceBroker, getServiceObject, getStatus, isInitialized, setInit, setName, setServiceBroker |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TorqueService()
| Method Detail |
public void init()
throws org.apache.fulcrum.InitializationException
org.apache.fulcrum.InitializationException
protected void loadOM()
throws java.lang.Exception
java.lang.Exceptionpublic void shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||