|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Descriptor | |
|---|---|
| org.glassfish.hk2.api | |
| org.glassfish.hk2.internal | |
| org.glassfish.hk2.utilities | |
| org.glassfish.hk2.utilities.binding | |
| Uses of Descriptor in org.glassfish.hk2.api |
|---|
| Subinterfaces of Descriptor in org.glassfish.hk2.api | |
|---|---|
interface |
ActiveDescriptor<T>
An ActiveDescriptor contains information about a Descriptor after it has been reified. |
| Methods in org.glassfish.hk2.api that return Descriptor | |
|---|---|
Descriptor |
Descriptor.getBaseDescriptor()
If this descriptor is based on another descriptor (for example via the Configuration bind call) then this method will
return the original basis for this descriptor. |
Descriptor |
ErrorInformation.getDescriptor()
This will contain the active descriptor that is associated with this failure. |
Descriptor |
FactoryDescriptors.getFactoryAsAFactory()
This returns the factory as a factory for some other type. |
Descriptor |
FactoryDescriptors.getFactoryAsAService()
This returns the factory as a service itself. |
| Methods in org.glassfish.hk2.api with parameters of type Descriptor | ||
|---|---|---|
|
DynamicConfiguration.bind(Descriptor key)
This method will bind the given descriptor to this Module. |
|
boolean |
Filter.matches(Descriptor d)
Returns true if this filter matches the given object |
|
ActiveDescriptor<?> |
ServiceLocator.reifyDescriptor(Descriptor descriptor)
Converts a descriptor to an ActiveDescriptor. |
|
ActiveDescriptor<?> |
ServiceLocator.reifyDescriptor(Descriptor descriptor,
Injectee injectee)
Converts a descriptor to an ActiveDescriptor. |
|
| Uses of Descriptor in org.glassfish.hk2.internal |
|---|
| Classes in org.glassfish.hk2.internal that implement Descriptor | |
|---|---|
class |
ConstantActiveDescriptor<T>
|
| Methods in org.glassfish.hk2.internal that return Descriptor | |
|---|---|
Descriptor |
FactoryDescriptorsImpl.getFactoryAsAFactory()
|
Descriptor |
FactoryDescriptorsImpl.getFactoryAsAService()
|
| Methods in org.glassfish.hk2.internal with parameters of type Descriptor | |
|---|---|
boolean |
StarFilter.matches(Descriptor d)
|
boolean |
SpecificFilterImpl.matches(Descriptor d)
|
boolean |
IndexedFilterImpl.matches(Descriptor d)
|
| Uses of Descriptor in org.glassfish.hk2.utilities |
|---|
| Classes in org.glassfish.hk2.utilities that implement Descriptor | |
|---|---|
class |
AbstractActiveDescriptor<T>
This class can be used as a starting point for those writing their own ActiveDescriptor. |
class |
AliasDescriptor<T>
A descriptor class that serves as an alias for another descriptor. |
class |
DescriptorImpl
The implementation of the descriptor itself, with the bonus of being externalizable, and having writeable fields |
| Methods in org.glassfish.hk2.utilities that return Descriptor | |
|---|---|
Descriptor |
DescriptorImpl.getBaseDescriptor()
|
| Methods in org.glassfish.hk2.utilities with parameters of type Descriptor | ||
|---|---|---|
static
|
ServiceLocatorUtilities.addOneDescriptor(ServiceLocator locator,
Descriptor descriptor)
It is very often the case that one wishes to add a single descriptor to a service locator. |
|
static IndexedFilter |
BuilderHelper.createSpecificDescriptorFilter(Descriptor descriptor)
This method creates a filter that will match one and only one descriptor. |
|
static DescriptorImpl |
BuilderHelper.deepCopyDescriptor(Descriptor copyMe)
Makes a deep copy of the incoming descriptor |
|
static
|
ServiceLocatorUtilities.findOneDescriptor(ServiceLocator locator,
Descriptor descriptor)
Finds a descriptor in the given service locator. |
|
static
|
ServiceLocatorUtilities.getService(ServiceLocator locator,
Descriptor descriptor)
Returns the service in this service locator given the current descriptor. |
|
static void |
DescriptorImpl.pretty(java.lang.StringBuffer sb,
Descriptor d)
Will pretty print a descriptor |
|
static void |
ServiceLocatorUtilities.removeOneDescriptor(ServiceLocator locator,
Descriptor descriptor)
This method will attempt to remove descriptors matching the passed in descriptor from the given locator. |
|
void |
DescriptorImpl.setBaseDescriptor(Descriptor baseDescriptor)
Sets the base descriptor to be associated with this descriptor |
|
| Constructors in org.glassfish.hk2.utilities with parameters of type Descriptor | |
|---|---|
AbstractActiveDescriptor(Descriptor baseDescriptor)
Creates a NON reified ActiveDescriptor based on a copy of the given baseDescriptor. |
|
DescriptorImpl(Descriptor copyMe)
Does a deep copy of the incoming descriptor |
|
DescriptorImpl(java.util.Set<java.lang.String> contracts,
java.lang.String name,
java.lang.String scope,
java.lang.String implementation,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metadatas,
java.util.Set<java.lang.String> qualifiers,
DescriptorType descriptorType,
DescriptorVisibility descriptorVisibility,
HK2Loader loader,
int rank,
java.lang.Boolean proxiable,
Descriptor baseDescriptor,
java.lang.Long id,
java.lang.Long locatorId)
This creates this descriptor impl, taking all of the fields as given |
|
| Uses of Descriptor in org.glassfish.hk2.utilities.binding |
|---|
| Methods in org.glassfish.hk2.utilities.binding with parameters of type Descriptor | ||
|---|---|---|
|
AbstractBinder.bind(Descriptor descriptor)
This method will bind the given descriptor to this Module. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||