public interface 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.
|
Descriptor getFactoryAsAService()
Factory
. The descriptor type must be DescriptorType.CLASS
since this descriptor is describing the factory itself.Descriptor getFactoryAsAFactory()
DescriptorType.PROVIDE_METHOD
since this descriptor is
describing the factory as a factory, not as a service.Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.