public abstract class AbstractPojoDescriptorBuilderFactory extends AbstractLoggableComponent implements PojoDescriptorBuilderFactory
PojoDescriptorBuilderFactory
interface.Modifier and Type | Field and Description |
---|---|
private static AbstractPojoDescriptorBuilderFactory |
instance |
Constructor and Description |
---|
AbstractPojoDescriptorBuilderFactory()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
PojoDescriptorBuilder |
createPrivateFieldDescriptorBuilder()
This method creates a
PojoDescriptorBuilder that introspects all non-static fields for building
PojoPropertyDescriptor s. |
PojoDescriptorBuilder |
createPublicMethodDescriptorBuilder()
This method creates a
PojoDescriptorBuilder that introspects public methods for building
PojoPropertyDescriptor s. |
static PojoDescriptorBuilderFactory |
getInstance()
This method gets the singleton instance of
PojoDescriptorBuilderFactory . |
protected static void |
setInstance(AbstractPojoDescriptorBuilderFactory instance) |
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDescriptorBuilder
private static AbstractPojoDescriptorBuilderFactory instance
public AbstractPojoDescriptorBuilderFactory()
protected static void setInstance(AbstractPojoDescriptorBuilderFactory instance)
instance
- is the instance to setpublic static PojoDescriptorBuilderFactory getInstance()
PojoDescriptorBuilderFactory
. Cdi.GET_INSTANCE
before using.null
if not initialized.public PojoDescriptorBuilder createPrivateFieldDescriptorBuilder()
PojoDescriptorBuilderFactory
PojoDescriptorBuilder
that introspects all non-static fields for building
PojoPropertyDescriptor
s. All methods will be ignored.createPrivateFieldDescriptorBuilder
in interface PojoDescriptorBuilderFactory
PojoDescriptorBuilder
instance.PojoDescriptorBuilderFactory.createPublicMethodDescriptorBuilder()
public PojoDescriptorBuilder createPublicMethodDescriptorBuilder()
PojoDescriptorBuilderFactory
PojoDescriptorBuilder
that introspects public methods for building
PojoPropertyDescriptor
s. All other methods and all fields will be ignored. This is the preferred way to use
following the java-bean philosophy.createPublicMethodDescriptorBuilder
in interface PojoDescriptorBuilderFactory
PojoDescriptorBuilder
instance.Copyright © 2001–2016 mmm-Team. All rights reserved.