|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FactoryDescriptors
This is a convenience class that links together the factory descriptor as a factory for another type and the factory as a service itself. It is not required to use this helper to register a factory, as the individual descriptors can be registered with the system independently.
| Method Summary | |
|---|---|
Descriptor |
getFactoryAsAFactory()
This returns the factory as a factory for some other type. |
Descriptor |
getFactoryAsAService()
This returns the factory as a service itself. |
| Method Detail |
|---|
Descriptor getFactoryAsAService()
Factory. The descriptor type must be DescriptorType.CLASS
since this descriptor is describing the factory itself.
Descriptor getFactoryAsAFactory()
DescriptorType.FACTORY since this descriptor is
describing the factory as a factory, not as a service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||