public interface ServiceImporter<T>
| Modifier and Type | Method and Description | 
|---|---|
T | 
importService(ImportedServiceDescriptor serviceDescriptor)
Imports an instance of the service type described in the service descriptor. 
 | 
boolean | 
isAvailable(T instance)
Ask if the service is available or not. 
 | 
T importService(ImportedServiceDescriptor serviceDescriptor) throws ServiceImporterException
serviceDescriptor - The service descriptor.ServiceImporterException - if import failed.boolean isAvailable(T instance)
instance - the instance to be checked