|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.services.BaseInitable | +--org.apache.turbine.services.BaseService | +--org.apache.turbine.services.db.TurbineMapBrokerService
Turbine's default implmentation of MapBrokerService
.
Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, properties, serviceBroker |
Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
Fields inherited from interface org.apache.turbine.services.db.MapBrokerService |
DEFAULT, DEFAULT_MAP, SERVICE_NAME |
Constructor Summary | |
TurbineMapBrokerService()
Deprecated. |
Method Summary | |
org.apache.torque.map.DatabaseMap |
getDatabaseMap()
Deprecated. Returns the default database map information. |
org.apache.torque.map.DatabaseMap |
getDatabaseMap(java.lang.String name)
Deprecated. Returns the database map information. |
java.lang.String |
getDefaultMap()
Deprecated. Return the default map. |
void |
init()
Deprecated. Initializes the service. |
void |
shutdown()
Deprecated. Shuts down the service. |
Methods inherited from class org.apache.turbine.services.BaseService |
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker |
Methods inherited from class org.apache.turbine.services.BaseInitable |
getInit, getInitableBroker, init, setInit, setInitableBroker |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, setInitableBroker |
Constructor Detail |
public TurbineMapBrokerService()
Method Detail |
public void init()
init
in interface Initable
init
in class BaseInitable
org.apache.turbine.services.Initable
InitializationException,
- if initialization of this
class was not successful.public java.lang.String getDefaultMap()
getDefaultMap
in interface MapBrokerService
public void shutdown()
shutdown
in interface Initable
shutdown
in class BaseInitable
public org.apache.torque.map.DatabaseMap getDatabaseMap() throws TurbineException
getDatabaseMap
in interface MapBrokerService
TurbineException
- Any exceptions caught during procssing will be
rethrown wrapped into a TurbineException.public org.apache.torque.map.DatabaseMap getDatabaseMap(java.lang.String name) throws TurbineException
getDatabaseMap
in interface MapBrokerService
name
- The name of the DatabaseMap
to
retrieve.DatabaseMap
.TurbineException
- Any exceptions caught during procssing will be
rethrown wrapped into a TurbineException.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |