Uses of Interface
org.glassfish.jersey.internal.inject.ForeignDescriptor
-
Packages that use ForeignDescriptor Package Description org.glassfish.jersey.internal.inject Common Jersey internal injection utility classes. -
-
Uses of ForeignDescriptor in org.glassfish.jersey.internal.inject
Classes in org.glassfish.jersey.internal.inject that implement ForeignDescriptor Modifier and Type Class Description classForeignDescriptorImplThe descriptor holder for an externally provided DI providers.Methods in org.glassfish.jersey.internal.inject that return ForeignDescriptor Modifier and Type Method Description ForeignDescriptorInjectionManager. createForeignDescriptor(Binding binding)Creates and registers the descriptor in the underlying DI provider and returnsForeignDescriptorthat is specific descriptor for the underlying DI provider.ForeignDescriptorInjectee. getInjecteeDescriptor()This method returns foreign descriptor of the current injectee that means that the DI provider is able to store its specific descriptor and that use it in the descriptor processing.ForeignDescriptorInjecteeImpl. getInjecteeDescriptor()static ForeignDescriptorForeignDescriptor. wrap(Object descriptor)Wraps incoming descriptor instance and provides a default implementation ofForeignDescriptor.static ForeignDescriptorForeignDescriptor. wrap(Object descriptor, Consumer<Object> disposeInstance)Wraps incoming descriptor instance and provides a default implementation ofForeignDescriptoralong with aConsumerfor a disposing an instance created using a given descriptor.Methods in org.glassfish.jersey.internal.inject with parameters of type ForeignDescriptor Modifier and Type Method Description ObjectInjectionManager. getInstance(ForeignDescriptor foreignDescriptor)Gets the service instance according toForeignDescriptorwhich is specific to the underlying DI provider.voidInjecteeImpl. setInjecteeDescriptor(ForeignDescriptor injecteeDescriptor)Sets the descriptor for this Injectee.
-