Package org.infinispan.context
Class AbstractInvocationContextFactory
- java.lang.Object
-
- org.infinispan.context.AbstractInvocationContextFactory
-
- All Implemented Interfaces:
InvocationContextFactory
- Direct Known Subclasses:
NonTransactionalInvocationContextFactory
,TransactionalInvocationContextFactory
@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 Configuration
config
Deprecated.-
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 InvocationContext
createClearNonTxInvocationContext()
Deprecated.Will create anClearInvocationContext
with theAbstractInvocationContext.isOriginLocal()
returning true.InvocationContext
createRemoteInvocationContextForCommand(org.infinispan.commands.VisitableCommand cacheCommand, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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, Address origin)
Deprecated.Description copied from interface:InvocationContextFactory
AsInvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address)
, but returning the flags to the context from the Command if any Flag was set.- Specified by:
createRemoteInvocationContextForCommand
in 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:InvocationContextFactory
Will create anClearInvocationContext
with theAbstractInvocationContext.isOriginLocal()
returning true.- Specified by:
createClearNonTxInvocationContext
in interfaceInvocationContextFactory
-
-