|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker
public abstract class TurbineAssemblerBroker
An interface the Turbine Assembler service. See TurbineAssemblerBrokerService for more info.
Constructor Summary | |
---|---|
TurbineAssemblerBroker()
|
Method Summary | |
---|---|
static Assembler |
getAssembler(String type,
String name)
Return an Assembler for a given type and object name. |
static Loader |
getLoader(String type)
Get a Loader for the given assembler type |
static AssemblerBrokerService |
getService()
Utility method for accessing the service implementation |
static void |
registerFactory(String type,
AssemblerFactory factory)
Register a new Assembler factory with this service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TurbineAssemblerBroker()
Method Detail |
---|
public static AssemblerBrokerService getService()
public static void registerFactory(String type, AssemblerFactory factory)
type
- The type of Assembler Factoryfactory
- The actual Factory Objectpublic static Assembler getAssembler(String type, String name) throws TurbineException
type
- The Type of Assember we wantname
- The name of the Assembler
TurbineException
- If a problem locating the Assember occured.public static Loader 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 |