Package org.infinispan.context
Class AbstractInvocationContextFactory
- java.lang.Object
-
- org.infinispan.context.AbstractInvocationContextFactory
-
- All Implemented Interfaces:
InvocationContextFactory
@Deprecated public abstract class AbstractInvocationContextFactory extends Object implements InvocationContextFactory
Deprecated.Since 9.0, this class is going to be moved to an internal package.Base class for InvocationContextFactory implementations.- Author:
- Mircea Markus, Dan Berindei
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationconfigDeprecated.-
Fields inherited from interface org.infinispan.context.InvocationContextFactory
UNBOUNDED
-
-
Constructor Summary
Constructors Constructor Description AbstractInvocationContextFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InvocationContextcreateClearNonTxInvocationContext()Deprecated.Will create anClearInvocationContextwith theAbstractInvocationContext.isOriginLocal()returning true.InvocationContextcreateRemoteInvocationContextForCommand(org.infinispan.commands.VisitableCommand cacheCommand, org.infinispan.remoting.transport.Address origin)Deprecated.AsInvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address), but returning the flags to the context from the Command if any Flag was set.-
Methods inherited from interface org.infinispan.context.InvocationContextFactory
createInvocationContext, createInvocationContext, createNonTxInvocationContext, createRemoteInvocationContext, createRemoteTxInvocationContext, createSingleKeyNonTxInvocationContext, createTxInvocationContext
-
-
-
-
Field Detail
-
config
protected Configuration config
Deprecated.
-
-
Method Detail
-
createRemoteInvocationContextForCommand
public InvocationContext createRemoteInvocationContextForCommand(org.infinispan.commands.VisitableCommand cacheCommand, org.infinispan.remoting.transport.Address origin)
Deprecated.Description copied from interface:InvocationContextFactoryAsInvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address), but returning the flags to the context from the Command if any Flag was set.- Specified by:
createRemoteInvocationContextForCommandin interfaceInvocationContextFactory- Parameters:
cacheCommand- the remote commandorigin- the origin of the command, or null if local
-
createClearNonTxInvocationContext
public final InvocationContext createClearNonTxInvocationContext()
Deprecated.Description copied from interface:InvocationContextFactoryWill create anClearInvocationContextwith theAbstractInvocationContext.isOriginLocal()returning true.- Specified by:
createClearNonTxInvocationContextin interfaceInvocationContextFactory
-
-