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()
FactoryDescriptorsFactory. The descriptor type must be DescriptorType.CLASS
since this descriptor is describing the factory itself.getFactoryAsAService in interface FactoryDescriptorspublic Descriptor getFactoryAsAFactory()
FactoryDescriptorsDescriptorType.PROVIDE_METHOD since this descriptor is
describing the factory as a factory, not as a service.getFactoryAsAFactory in interface FactoryDescriptorsCopyright © 2009-2014 Oracle Corporation. All Rights Reserved.