| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final String | |
| private final Map | |
| private final ContextConfiguration | |
| private final Set | |
| private String | |
| private final Set | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private | ObjectBuilder(final ContextConfiguration contextConfiguration, final Class<? extends T> baseClass, final String className)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ObjectBuilder | Returns: this builderthe name of the property name, final String a string representing the value value)Adds a property used for constructing the object. |
| pack-priv ObjectBuilder | Returns: this builderthe name of the property name, final Class<?> the type of the property type, final Supplier<?> a supplier for the property value value)Adds a defined property to be set after the object is created. |
| pack-priv ObjectBuilder | Returns: this builderthe name of the method to execute methodNames)Adds a method name to be executed after the object is created and the properties are set. |
| pack-priv ObjectBuilder | Returns: this builderthe name of the property name, final String a string representing the value value)Adds a property to be set on the object after it has been created. |
| pack-priv Supplier | |
| private boolean | |
| private ObjectBuilder. | |
| private static Class | |
| private static Method | |
| private static Method | |
| private static String | |
| private static Class | |
| private static Class | |
| private Object | |
| pack-priv static < the type being created T> ObjectBuilder | Returns: a newObjectBuilderthe base type baseClass, final String the name of the class to create className)Create a new |
| pack-priv ObjectBuilder | Returns: this builderthe module name or moduleName)null to use this class loaderSets the name of the module used to load the object being created. |
| baseClass | back to summary |
|---|---|
| private final Class<? extends T> baseClass | |
| className | back to summary |
|---|---|
| private final String className | |
| constructorProperties | back to summary |
|---|---|
| private final Map<String, String> constructorProperties | |
| contextConfiguration | back to summary |
|---|---|
| private final ContextConfiguration contextConfiguration | |
| definedProperties | back to summary |
|---|---|
| private final Set<ObjectBuilder. | |
| moduleName | back to summary |
|---|---|
| private String moduleName | |
| postConstructMethods | back to summary |
|---|---|
| private final Set<String> postConstructMethods | |
| properties | back to summary |
|---|---|
| private final Map<String, String> properties | |
| ObjectBuilder | back to summary |
|---|---|
| private ObjectBuilder(final ContextConfiguration contextConfiguration, final Class<? extends T> baseClass, final String className) | |
| addConstructorProperty | back to summary |
|---|---|
| pack-priv ObjectBuilder Adds a property used for constructing the object.
The
| |
| addDefinedProperty | back to summary |
|---|---|
| pack-priv ObjectBuilder Adds a defined property to be set after the object is created.
| |
| addPostConstructMethods | back to summary |
|---|---|
| pack-priv ObjectBuilder Adds a method name to be executed after the object is created and the properties are set. The method must not have any parameters.
| |
| addProperty | back to summary |
|---|---|
| pack-priv ObjectBuilder Adds a property to be set on the object after it has been created.
| |
| build | back to summary |
|---|---|
| pack-priv Supplier Creates a the object when the supplier value is accessed.
| |
| definedPropertiesContains | back to summary |
|---|---|
| private boolean definedPropertiesContains(final String name) | |
| findDefinedProperty | back to summary |
|---|---|
| private ObjectBuilder. | |
| getConstructorPropertyType | back to summary |
|---|---|
| private static Class | |
| getPropertyGetter | back to summary |
|---|---|
| private static Method getPropertyGetter(Class<?> clazz, String propertyName) | |
| getPropertySetter | back to summary |
|---|---|
| private static Method getPropertySetter(Class<?> clazz, String propertyName) | |
| getPropertySetterName | back to summary |
|---|---|
| private static String getPropertySetterName(final String propertyName) | |
| getPropertyType | back to summary |
|---|---|
| private static Class | |
| getPropertyType | back to summary |
|---|---|
| private static Class | |
| getValue | back to summary |
|---|---|
| private Object getValue(final Class<?> objClass, final String propertyName, final Class<?> paramType, final String value) | |
| of | back to summary |
|---|---|
| pack-priv static <T> ObjectBuilder Create a new
| |
| setModuleName | back to summary |
|---|---|
| pack-priv ObjectBuilder Sets the name of the module used to load the object being created.
| |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ClassLoader |
| ModuleFinder | back to summary |
|---|---|
| private ModuleFinder() | |
| getClassLoader | back to summary |
|---|---|
| pack-priv static ClassLoader getClassLoader(final String moduleName) throws Exception | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ClassLoader |
| Holder | back to summary |
|---|---|
| private Holder() | |
| getClassLoader | back to summary |
|---|---|
| pack-priv static ClassLoader getClassLoader(final String moduleName) throws Exception | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final Class | |
| pack-priv final Supplier |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final ObjectBuilder.
the object to be compared. oImplements java. Compares this object with the specified object for order. |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| type | back to summary |
|---|---|
| pack-priv final Class<?> type | |
| value | back to summary |
|---|---|
| pack-priv final Supplier<?> value | |
| PropertyValue | back to summary |
|---|---|
| private PropertyValue(final String name, final Class<?> type, final Supplier<?> value) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final ObjectBuilder. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |