public static interface GeneratorAdapterFactory.Descriptor
Descriptor
s are stored in a
Registry
and create a particular type of GeneratorAdapterFactory
, providing an additional
level of indirection that allows multiple Generator
s to share a single registry and supports
extension-point-based registration with deferred class loading.Modifier and Type | Interface and Description |
---|---|
static class |
GeneratorAdapterFactory.Descriptor.DelegatingRegistry
A simple
Registry implementation, in which getDescriptors(String)
can delegate to another Registry if no descriptors are locally registered against the given package
ID. |
static interface |
GeneratorAdapterFactory.Descriptor.Registry
A registry of
Descriptor s. |
Modifier and Type | Method and Description |
---|---|
GeneratorAdapterFactory |
createAdapterFactory()
Creates and returns an instance of a particular type of
GeneratorAdapterFactory . |
GeneratorAdapterFactory createAdapterFactory()
GeneratorAdapterFactory
. A new instance
should be returned on each invocation.