net.sourceforge.blogentis.utils
Class BlogManagerService
java.lang.Object
org.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
net.sourceforge.blogentis.utils.BlogManagerService
- All Implemented Interfaces:
- org.apache.turbine.services.Initable, org.apache.turbine.services.Service
- public class BlogManagerService
- extends org.apache.turbine.services.TurbineBaseService
Keep a list of run-time blog instances.
- Author:
- abas
Field Summary |
protected static java.util.Map |
byId
|
protected static java.util.Map |
byName
|
static java.lang.String |
SERVICE_NAME
|
Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, serviceBroker |
Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
Methods inherited from class org.apache.turbine.services.TurbineBaseService |
init, init, init |
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, 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.Initable |
getInit, setInitableBroker |
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
byName
protected static java.util.Map byName
byId
protected static java.util.Map byId
BlogManagerService
public BlogManagerService()
init
public void init(java.lang.Object ignored)
throws org.apache.turbine.services.InitializationException
- Throws:
org.apache.turbine.services.InitializationException
shutdown
public void shutdown()
getBlog
public static Blog getBlog(java.lang.String name)
throws org.apache.torque.TorqueException
- Throws:
org.apache.torque.TorqueException
getBlog
public static Blog getBlog(int id)
throws org.apache.torque.TorqueException
- Throws:
org.apache.torque.TorqueException
clear
public static void clear()
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.