public class TurbineAssemblerBrokerService extends TurbineBaseService implements AssemblerBrokerService
configuration, name, serviceBrokerinitableBroker, isInitializedSERVICE_NAME| Constructor and Description |
|---|
TurbineAssemblerBrokerService() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Assembler> |
getAssembler(Class<T> type,
String name)
Attempt to retrieve an Assembler of a given type with
a name.
|
<T extends Assembler> |
getLoader(Class<T> type)
Get a Loader for the given assembler type
|
void |
init()
Initializes the AssemblerBroker and loads the AssemblerFactory
classes registered in TurbineResources.Properties.
|
<T extends Assembler> |
registerFactory(AssemblerFactory<T> factory)
Register a new AssemblerFactory
|
init, init, shutdowngetConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBrokergetInit, getInitableBroker, setInit, setInitableBrokerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getName, getProperties, setName, setServiceBrokergetInit, init, setInitableBroker, shutdownpublic void init()
throws InitializationException
init in interface Initableinit in class TurbineBaseServiceInitializationException - if problems occur while registering the factoriespublic <T extends Assembler> void registerFactory(AssemblerFactory<T> factory)
registerFactory in interface AssemblerBrokerServiceT - the type of the assemblerfactory - factory to registerpublic <T extends Assembler> T getAssembler(Class<T> type, String name) throws TurbineException
getAssembler in interface AssemblerBrokerServiceT - the type of the assemblertype - type of Assemblername - name of the requested AssemblerTurbineException - if the assembler could not be loadedpublic <T extends Assembler> Loader<T> getLoader(Class<T> type)
getLoader in interface AssemblerBrokerServiceT - the type of the assemblertype - The Type of the AssemblerCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.