|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductDerivation
Hooks for deriving products with additional functionality.
All implementations of this interface will have a chance to mutate
a Configuration
both before and after the user-specified
configuration data is loaded. The order in which the
derivations are evaluated is determined by the specificity of the
derivation type.
Field Summary | |
---|---|
static int |
TYPE_FEATURE
|
static int |
TYPE_PRODUCT
|
static int |
TYPE_PRODUCT_STORE
|
static int |
TYPE_SPEC
|
static int |
TYPE_SPEC_STORE
|
static int |
TYPE_STORE
|
Method Summary | |
---|---|
void |
afterSpecificationSet(OpenJPAConfiguration conf)
Called after the specification has been set. |
void |
beforeConfigurationConstruct(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Provides the instance with a callback to mutate the initial properties of the ConfigurationProvider . |
void |
beforeConfigurationLoad(OpenJPAConfiguration conf)
Provides the instance with the opportunity to mutate conf before the user configuration is applied. |
int |
getType()
Return the type of derivation. |
Field Detail |
---|
static final int TYPE_SPEC
static final int TYPE_PRODUCT
static final int TYPE_STORE
static final int TYPE_SPEC_STORE
static final int TYPE_PRODUCT_STORE
static final int TYPE_FEATURE
Method Detail |
---|
int getType()
void beforeConfigurationConstruct(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
ConfigurationProvider
. This is primarily to alter or
add properties that determine what type of configuration is constructed,
and therefore is typically used at runtime only.
void beforeConfigurationLoad(OpenJPAConfiguration conf)
conf
before the user configuration is applied.
void afterSpecificationSet(OpenJPAConfiguration conf)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |