|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssemblerBrokerService
An interface the Turbine Assembler service. See TurbineAssemblerBrokerService for more info.
Field Summary | |
---|---|
static String |
SERVICE_NAME
Name of the Service |
Method Summary | |
---|---|
Assembler |
getAssembler(String type,
String name)
Attempts to load an Assembler of a type with a given name |
Loader |
getLoader(String type)
Get a Loader for the given assembler type |
void |
registerFactory(String type,
AssemblerFactory factory)
Register an AssemblerFactory class for a given type |
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, init, setInitableBroker, shutdown |
Field Detail |
---|
static final String SERVICE_NAME
Method Detail |
---|
void registerFactory(String type, AssemblerFactory factory)
type
- Type of the Factoryfactory
- The factory objectAssembler getAssembler(String type, String name) throws TurbineException
type
- The Type of the Assemblername
- The Name of the Assembler
TurbineException
- Something went wrong while looking for the AssemblerLoader getLoader(String type)
type
- The Type of the Assembler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |