public abstract class NodeSpecifiedService<T> extends PluggableProviderRegistryService<T> implements PluggableService<T>
framework
instanceregistry, registry
Modifier | Constructor and Description |
---|---|
protected |
NodeSpecifiedService(Framework framework) |
protected |
NodeSpecifiedService(Framework framework,
boolean cacheInstances) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getDefaultProviderNameForNodeAndProject(INodeEntry node,
java.lang.String project) |
T |
getProviderForNodeAndProject(INodeEntry node,
java.lang.String project) |
protected abstract java.lang.String |
getServiceProviderNodeAttributeForNode(INodeEntry node) |
closeableProviderOfType, listProviders, providerOfType
createProviderInstanceFromType, hasValidProviderSignature
registerClass, registerInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLoadWithLoader, loadCloseableWithLoader, loadWithLoader
getName
adapter
listDescribableProviders, listDescriptions
isCacheInstances, registerClass, registerInstance, setCacheInstances
protected NodeSpecifiedService(Framework framework)
protected NodeSpecifiedService(Framework framework, boolean cacheInstances)
public T getProviderForNodeAndProject(INodeEntry node, java.lang.String project) throws ExecutionServiceException
node
- nodeproject
- projectExecutionServiceException
- on errorprotected abstract java.lang.String getServiceProviderNodeAttributeForNode(INodeEntry node)
node
- nodeprotected abstract java.lang.String getDefaultProviderNameForNodeAndProject(INodeEntry node, java.lang.String project)
node
- nodeproject
- project