|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.intake.TurbineIntake
This is a Facade class for IntakeService. This class provides static methods that call related methods of the implementation of the IntakeService used by the System, according to the settings in TurbineResources.
| Constructor Summary | |
TurbineIntake()
|
|
| Method Summary | |
static 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. |
static java.lang.reflect.Method |
getFieldSetter(java.lang.String className,
java.lang.String propName)
Gets the Method that can be used to set a property. |
static 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. |
static java.lang.String |
getGroupKey(java.lang.String groupName)
Gets the key (usually a short identifier) for a group. |
static java.lang.String |
getGroupName(java.lang.String groupKey)
Gets the group name given its key. |
static java.lang.String[] |
getGroupNames()
Names of all the defined groups. |
static int |
getSize(java.lang.String groupName)
Gets the current size of the pool for a named group. |
static void |
releaseGroup(Group instance)
Puts a group back to the pool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TurbineIntake()
| Method Detail |
public static Group getGroup(java.lang.String groupName)
throws IntakeException
groupName - the name of the group.
IntakeException - if recycling fails.
public static void releaseGroup(Group instance)
throws IntakeException
instance - the object instance to recycle.
IntakeException - A non existant group was passed
public static int getSize(java.lang.String groupName)
throws IntakeException
groupName - the name of the group.
IntakeException - A non existant group was passedpublic static java.lang.String[] getGroupNames()
public static java.lang.String getGroupKey(java.lang.String groupName)
groupName - the name of the group.
public static java.lang.String getGroupName(java.lang.String groupKey)
groupKey - the key.
public static java.lang.reflect.Method getFieldSetter(java.lang.String className,
java.lang.String propName)
throws java.beans.IntrospectionException,
java.lang.ClassNotFoundException
className - the name of the object.propName - the name of the property.
java.lang.ClassNotFoundException
java.beans.IntrospectionException
public static java.lang.reflect.Method getFieldGetter(java.lang.String className,
java.lang.String propName)
throws java.beans.IntrospectionException,
java.lang.ClassNotFoundException
className - 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 | ||||||||||