|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IntakeService
This service provides access to input processing objects based on an XML specification.
Localization of Intake's error messages can be accomplished
using Turbine's LocalizationTool from a Velocity template
as follows:
$l10n.get($intake.SomeGroup.SomeField.Message)
| Field Summary | |
|---|---|
static int |
DEFAULT_POOL_CAPACITY
The default pool capacity. |
static String |
ROLE
Avalon role - used to id the component within the manager |
static String |
SERIAL_XML
The configuration property specifying the location where a serialized version of the xml specification can be written for faster restarts.. |
static String |
SERIAL_XML_DEFAULT
The default location where a serialized version of the xml specification can be written for faster restarts.. |
static String |
XML_PATH_DEFAULT
The default location of the xml specification. |
static String |
XML_PATHS
The configuration property specifying the location of the xml specification. |
| Method Summary | |
|---|---|
Method |
getFieldGetter(String className,
String propName)
Gets the Method that can be used to get a property value. |
Method |
getFieldSetter(String className,
String propName)
Gets the Method that can be used to set a property. |
Group |
getGroup(String groupName)
Gets an instance of a named group either from the pool or by calling the Factory Service if the pool is empty. |
String |
getGroupKey(String groupName)
Gets the key (usually a short identifier) for a group. |
String |
getGroupName(String groupKey)
Gets the group name given its key. |
String[] |
getGroupNames()
Names of all the defined groups. |
int |
getSize(String groupName)
Gets the current size of the pool for a named group. |
void |
releaseGroup(Group instance)
Puts a group back to the pool. |
| Field Detail |
|---|
static final String ROLE
static final String XML_PATHS
static final String XML_PATH_DEFAULT
static final String SERIAL_XML
static final String SERIAL_XML_DEFAULT
static final int DEFAULT_POOL_CAPACITY
| Method Detail |
|---|
Group getGroup(String groupName)
throws IntakeException
groupName - the name of the group.
IntakeException - if recycling fails.
void releaseGroup(Group instance)
throws IntakeException
instance - the object instance to recycle.
IntakeException - The passed group name does not exist.
int getSize(String groupName)
throws IntakeException
groupName - the name of the group.
IntakeException - The passed group name does not exist.String[] getGroupNames()
String getGroupKey(String groupName)
groupName - the name of the group.
String getGroupName(String groupKey)
groupKey - the key.
Method getFieldSetter(String className,
String propName)
throws ClassNotFoundException,
IntrospectionException
className - the name of the object.propName - the name of the property.
ClassNotFoundException
IntrospectionException
Method getFieldGetter(String className,
String propName)
throws ClassNotFoundException,
IntrospectionException
className - the name of the object.propName - the name of the property.
ClassNotFoundException
IntrospectionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||