|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.conf.Value org.apache.openjpa.lib.conf.ObjectValue org.apache.openjpa.lib.conf.PluginValue org.apache.openjpa.conf.RemoteCommitProviderValue
public class RemoteCommitProviderValue
Value type used to represent a RemoteCommitProvider
. This
plugin allows users to specify whether to transmit the ids of added objects
in the remote commit events distributed.
Constructor Summary | |
---|---|
RemoteCommitProviderValue()
|
Method Summary | |
---|---|
void |
configureEventManager(RemoteCommitEventManager mgr)
Configure the remote event manager. |
RemoteCommitProvider |
getProvider()
The cached provider. |
boolean |
getTransmitPersistedObjectIds()
Whether to transmit persisted object ids in remote commit events. |
Object |
instantiate(Class type,
Configuration conf,
boolean fatal)
Override to keep decorators out of transport configuration. |
RemoteCommitProvider |
instantiateProvider(Configuration conf)
Instantiate the provider. |
RemoteCommitProvider |
instantiateProvider(Configuration conf,
boolean fatal)
Instantiate the provider. |
void |
setProperties(String props)
The plugin properties. |
void |
setProvider(RemoteCommitProvider provider)
The cached provider. |
void |
setString(String str)
Set this value from the given string. |
void |
setTransmitPersistedObjectIds(boolean transmit)
The cached decorators. |
Methods inherited from class org.apache.openjpa.lib.conf.PluginValue |
---|
getClassName, getInternalString, getProperties, getString, getValueType, isSingleton, objectChanged, set, setClassName, setInternalString |
Methods inherited from class org.apache.openjpa.lib.conf.ObjectValue |
---|
get, instantiate, newInstance, set, setInternalObject |
Methods inherited from class org.apache.openjpa.lib.conf.Value |
---|
alias, alias, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListener, getLoadKey, getProperty, getScope, hashCode, isAliasListComprehensive, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setInstantiatingGetter, setListener, setLoadKey, setObject, setProperty, setScope, unalias, unalias, valueChanged |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteCommitProviderValue()
Method Detail |
---|
public void setProperties(String props)
PluginValue
setProperties
in class PluginValue
public void setString(String str)
Value
setString
in class PluginValue
public RemoteCommitProvider getProvider()
public void setProvider(RemoteCommitProvider provider)
public boolean getTransmitPersistedObjectIds()
public void setTransmitPersistedObjectIds(boolean transmit)
public RemoteCommitProvider instantiateProvider(Configuration conf)
public RemoteCommitProvider instantiateProvider(Configuration conf, boolean fatal)
public void configureEventManager(RemoteCommitEventManager mgr)
public Object instantiate(Class type, Configuration conf, boolean fatal)
instantiate
in class PluginValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |