Package org.apache.openjpa.conf
Class RemoteCommitProviderValue
- 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
-
- All Implemented Interfaces:
java.lang.Cloneable
public class RemoteCommitProviderValue extends org.apache.openjpa.lib.conf.PluginValue
Value type used to represent aRemoteCommitProvider
. This plugin allows users to specify whether to transmit the ids of added objects in the remote commit events distributed.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description RemoteCommitProviderValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.java.lang.Object
instantiate(java.lang.Class type, org.apache.openjpa.lib.conf.Configuration conf, boolean fatal)
Override to keep decorators out of transport configuration.RemoteCommitProvider
instantiateProvider(org.apache.openjpa.lib.conf.Configuration conf)
Instantiate the provider.RemoteCommitProvider
instantiateProvider(org.apache.openjpa.lib.conf.Configuration conf, boolean fatal)
Instantiate the provider.void
setProperties(java.lang.String props)
void
setProvider(RemoteCommitProvider provider)
The cached provider.void
setString(java.lang.String str)
void
setTransmitPersistedObjectIds(boolean transmit)
The cached decorators.-
Methods inherited from class org.apache.openjpa.lib.conf.PluginValue
configure, getClassName, getInternalString, getProperties, getString, getValueType, isSingleton, objectChanged, set, setClassName, setInternalString
-
Methods inherited from class org.apache.openjpa.lib.conf.ObjectValue
configure, get, instantiate, newInstance, set, setInternalObject
-
Methods inherited from class org.apache.openjpa.lib.conf.Value
addEquivalentKey, addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChanged
-
-
-
-
Method Detail
-
setProperties
public void setProperties(java.lang.String props)
- Overrides:
setProperties
in classorg.apache.openjpa.lib.conf.PluginValue
-
setString
public void setString(java.lang.String str)
- Overrides:
setString
in classorg.apache.openjpa.lib.conf.PluginValue
-
getProvider
public RemoteCommitProvider getProvider()
The cached provider.
-
setProvider
public void setProvider(RemoteCommitProvider provider)
The cached provider.
-
getTransmitPersistedObjectIds
public boolean getTransmitPersistedObjectIds()
Whether to transmit persisted object ids in remote commit events.
-
setTransmitPersistedObjectIds
public void setTransmitPersistedObjectIds(boolean transmit)
The cached decorators.
-
instantiateProvider
public RemoteCommitProvider instantiateProvider(org.apache.openjpa.lib.conf.Configuration conf)
Instantiate the provider.
-
instantiateProvider
public RemoteCommitProvider instantiateProvider(org.apache.openjpa.lib.conf.Configuration conf, boolean fatal)
Instantiate the provider.
-
configureEventManager
public void configureEventManager(RemoteCommitEventManager mgr)
Configure the remote event manager.
-
instantiate
public java.lang.Object instantiate(java.lang.Class type, org.apache.openjpa.lib.conf.Configuration conf, boolean fatal)
Override to keep decorators out of transport configuration.- Overrides:
instantiate
in classorg.apache.openjpa.lib.conf.PluginValue
-
-