public class FactoryDescriptorsImpl extends Object implements FactoryDescriptors
Modifier and Type | Method and Description |
---|---|
Descriptor |
getFactoryAsAFactory()
This returns the factory as a factory for some other type.
|
Descriptor |
getFactoryAsAService()
This returns the factory as a service itself.
|
String |
toString() |
public Descriptor getFactoryAsAService()
FactoryDescriptors
Factory
. The descriptor type must be DescriptorType.CLASS
since this descriptor is describing the factory itself.getFactoryAsAService
in interface FactoryDescriptors
public Descriptor getFactoryAsAFactory()
FactoryDescriptors
DescriptorType
.FACTORY since this descriptor is
describing the factory as a factory, not as a service.getFactoryAsAFactory
in interface FactoryDescriptors
Copyright © 2018 Oracle Corporation. All rights reserved.