class InjectableService extends Object
Modifier and Type | Field and Description |
---|---|
private Field |
injectableField |
private PluginContext |
pluginContext |
private Object |
service |
private Class<?> |
serviceInterface |
Constructor and Description |
---|
InjectableService(PluginContext pluginContext,
Class<?> serviceInterface,
Field injectableField) |
Modifier and Type | Method and Description |
---|---|
(package private) Object |
getService() |
(package private) Class<?> |
getServiceInterface() |
(package private) void |
injectService(Object service) |
private void |
injectValue(Object value) |
(package private) boolean |
isServiceAvailable() |
String |
toString() |
private PluginContext pluginContext
private Class<?> serviceInterface
private Field injectableField
InjectableService(PluginContext pluginContext, Class<?> serviceInterface, Field injectableField)
Class<?> getServiceInterface()
Object getService()
boolean isServiceAvailable()
void injectService(Object service)
private void injectValue(Object value)
Copyright © 2018. All Rights Reserved.