com.dtolabs.rundeck.core.plugins
Class PluggableProviderRegistryService<T>

java.lang.Object
  extended by com.dtolabs.rundeck.core.plugins.BaseProviderRegistryService<T>
      extended by com.dtolabs.rundeck.core.plugins.PluggableProviderRegistryService<T>
All Implemented Interfaces:
FrameworkSupportService, ProviderService<T>, PluggableService<T>
Direct Known Subclasses:
NodeSpecifiedService, ResourceFormatGeneratorService, ResourceFormatParserService, ResourceModelSourceService

public abstract class PluggableProviderRegistryService<T>
extends BaseProviderRegistryService<T>
implements PluggableService<T>

Extends BaseProviderRegistryService to support loading providers via plugins if not found in the registry.


Field Summary
 
Fields inherited from class com.dtolabs.rundeck.core.plugins.BaseProviderRegistryService
framework, instanceregistry, registry
 
Constructor Summary
protected PluggableProviderRegistryService(Framework framework)
           
 
Method Summary
 java.util.List<ProviderIdent> listProviders()
           
 T providerOfType(java.lang.String providerName)
          Return the provider instance of the given name.
 
Methods inherited from class com.dtolabs.rundeck.core.plugins.BaseProviderRegistryService
createProviderInstanceFromType, hasValidProviderSignature, registerClass, registerInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dtolabs.rundeck.core.plugins.PluggableService
createProviderInstance, createScriptProviderInstance, isScriptPluggable, isValidProviderClass
 
Methods inherited from interface com.dtolabs.rundeck.core.common.FrameworkSupportService
getName
 

Constructor Detail

PluggableProviderRegistryService

protected PluggableProviderRegistryService(Framework framework)
Method Detail

providerOfType

public T providerOfType(java.lang.String providerName)
                 throws ExecutionServiceException
Description copied from class: BaseProviderRegistryService
Return the provider instance of the given name.

Specified by:
providerOfType in interface ProviderService<T>
Overrides:
providerOfType in class BaseProviderRegistryService<T>
Throws:
ExecutionServiceException

listProviders

public java.util.List<ProviderIdent> listProviders()
Specified by:
listProviders in interface ProviderService<T>
Overrides:
listProviders in class BaseProviderRegistryService<T>