T - The actual type of the servicepublic abstract class EMFFormsAbstractLegacyServiceFactory<T extends ViewModelService> extends Object implements EMFFormsViewServiceFactory<T>
EMFFormsViewServiceFactory.| Constructor and Description |
|---|
EMFFormsAbstractLegacyServiceFactory(Class<T> type,
double priority,
ReportService reportService)
Default constructor used to create an
EMFFormsLegacyGlobalServiceFactory. |
| Modifier and Type | Method and Description |
|---|---|
T |
createService(EMFFormsViewContext emfFormsViewContext)
Creates a new instance of the provided service.
|
double |
getPriority()
The priority of the service.
|
Class<T> |
getType()
The type of the actual service provided by this provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPolicy, getScopepublic EMFFormsAbstractLegacyServiceFactory(Class<T> type, double priority, ReportService reportService)
EMFFormsLegacyGlobalServiceFactory.type - The type of the service to wrappriority - The priority of the wrapped servicereportService - The ReportService to use for loggingpublic double getPriority()
getPriority in interface EMFFormsViewServiceFactory<T extends ViewModelService>EMFFormsViewServiceFactory.getPriority()public Class<T> getType()
getType in interface EMFFormsViewServiceFactory<T extends ViewModelService>EMFFormsViewServiceFactory.getType()public T createService(EMFFormsViewContext emfFormsViewContext)
createService in interface EMFFormsViewServiceFactory<T extends ViewModelService>emfFormsViewContext - The EMFFormsViewContext to use during the creation of the serviceEMFFormsViewServiceFactory.createService(EMFFormsViewContext)Copyright © 2018. All rights reserved.