|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
org.apache.turbine.services.intake.TurbineIntakeService
This service provides access to input processing objects based on an XML specification.
| Field Summary |
| Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, serviceBroker |
| Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
| Fields inherited from interface org.apache.turbine.services.intake.IntakeService |
DEFAULT_POOL_CAPACITY, SERIAL_XML, SERIAL_XML_DEFAULT, SERVICE_NAME, XML_PATH, XML_PATH_DEFAULT |
| Fields inherited from interface org.apache.turbine.services.Service |
SERVICE_NAME |
| Constructor Summary | |
TurbineIntakeService()
Constructor. |
|
| Method Summary | |
java.lang.reflect.Method |
getFieldGetter(java.lang.String className,
java.lang.String propName)
Gets the Method that can be used to get a property value. |
java.lang.reflect.Method |
getFieldSetter(java.lang.String className,
java.lang.String propName)
Gets the Method that can be used to set a property. |
Group |
getGroup(java.lang.String groupName)
Gets an instance of a named group either from the pool or by calling the Factory Service if the pool is empty. |
java.lang.String |
getGroupKey(java.lang.String groupName)
Gets the key (usually a short identifier) for a group. |
java.lang.String |
getGroupName(java.lang.String groupKey)
Gets the group name given its key. |
java.lang.String[] |
getGroupNames()
Names of all the defined groups. |
int |
getSize(java.lang.String groupName)
Gets the current size of the pool for a group. |
void |
init()
Called the first time the Service is used. |
void |
init(javax.servlet.ServletConfig config)
Deprecated. use init() instead. |
void |
releaseGroup(Group instance)
Puts a Group back to the pool. |
| Methods inherited from class org.apache.turbine.services.TurbineBaseService |
init, init, shutdown |
| 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 |
| Constructor Detail |
public TurbineIntakeService()
| Method Detail |
public void init()
throws InitializationException
init in interface Initableinit in class TurbineBaseServiceInitializationException - Something went wrong in the init
stage
public void init(javax.servlet.ServletConfig config)
throws InitializationException
init in class TurbineBaseServiceconfig - A ServletConfig.
InitializationException - if initialization of this
class was not successful.
public Group getGroup(java.lang.String groupName)
throws IntakeException
getGroup in interface IntakeServicegroupName - the name of the group.
IntakeException - if recycling fails.
public void releaseGroup(Group instance)
throws IntakeException
releaseGroup in interface IntakeServiceinstance - the object instance to recycle.
IntakeException - The passed group name does not exist.
public int getSize(java.lang.String groupName)
throws IntakeException
getSize in interface IntakeServicegroupName - the name of the group.
IntakeException - The passed group name does not exist.public java.lang.String[] getGroupNames()
getGroupNames in interface IntakeServicepublic java.lang.String getGroupKey(java.lang.String groupName)
getGroupKey in interface IntakeServicegroupName - the name of the group.
public java.lang.String getGroupName(java.lang.String groupKey)
getGroupName in interface IntakeServicegroupKey - the key.
public java.lang.reflect.Method getFieldSetter(java.lang.String className,
java.lang.String propName)
throws java.lang.ClassNotFoundException,
java.beans.IntrospectionException
getFieldSetter in interface IntakeServiceclassName - the name of the object.propName - the name of the property.
java.lang.ClassNotFoundException
java.beans.IntrospectionException
public java.lang.reflect.Method getFieldGetter(java.lang.String className,
java.lang.String propName)
throws java.lang.ClassNotFoundException,
java.beans.IntrospectionException
getFieldGetter in interface IntakeServiceclassName - the name of the object.propName - the name of the property.
java.lang.ClassNotFoundException
java.beans.IntrospectionException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||