T - public interface ServiceHolder<T>
InjectionManager along with other information about the provided service.ServiceHolderImpl| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
getContractTypes()
Gets all contracts which represents the kept instance.
|
Class<T> |
getImplementationClass()
Gets an implementation class of the instance which is kept in this service holder.
|
T |
getInstance()
An instance of the service got from
InjectionManager. |
int |
getRank()
Gets ranking of the kept instance.
|
T getInstance()
InjectionManager.Class<T> getImplementationClass()
Set<Type> getContractTypes()
int getRank()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.