public class FactoryDescriptorsImpl extends java.lang.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.
|
java.lang.String |
toString() |
public Descriptor getFactoryAsAService()
FactoryDescriptorsFactory. The descriptor type must be DescriptorType.CLASS
since this descriptor is describing the factory itself.getFactoryAsAService in interface FactoryDescriptorspublic Descriptor getFactoryAsAFactory()
FactoryDescriptorsDescriptorType.FACTORY since this descriptor is
describing the factory as a factory, not as a service.getFactoryAsAFactory in interface FactoryDescriptorspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 Oracle Corporation. All Rights Reserved.