Class TransactionalInvocationContextFactory

  • All Implemented Interfaces:
    InvocationContextFactory

    @Deprecated
    public class TransactionalInvocationContextFactory
    extends AbstractInvocationContextFactory
    Deprecated.
    Since 9.0, this class is going to be moved to an internal package.
    Invocation context to be used for transactional caches.
    Author:
    Mircea.Markus@jboss.com
    • Constructor Detail

      • TransactionalInvocationContextFactory

        public TransactionalInvocationContextFactory()
        Deprecated.
    • Method Detail

      • start

        public void start()
        Deprecated.
      • createNonTxInvocationContext

        public org.infinispan.context.impl.NonTxInvocationContext createNonTxInvocationContext()
        Deprecated.
        Description copied from interface: InvocationContextFactory
        Will create an NonTxInvocationContext with the AbstractInvocationContext.isOriginLocal() returning true.
      • createSingleKeyNonTxInvocationContext

        public InvocationContext createSingleKeyNonTxInvocationContext()
        Deprecated.
        Description copied from interface: InvocationContextFactory
        Will create an NonTxInvocationContext with the AbstractInvocationContext.isOriginLocal() returning true.
      • createInvocationContext

        public InvocationContext createInvocationContext​(boolean isWrite,
                                                         int keyCount)
        Deprecated.
        Description copied from interface: InvocationContextFactory
        If we are in a tx scope this will return an TxInvocationContext. Otherwise it will return an NonTxInvocationContext. Either way, both context will be marked as local, i.e. InvocationContext.isOriginLocal() will be true.
      • createInvocationContext

        public InvocationContext createInvocationContext​(javax.transaction.Transaction tx,
                                                         boolean implicitTransaction)
        Deprecated.
        Description copied from interface: InvocationContextFactory
        Creates an invocation context
      • createTxInvocationContext

        public org.infinispan.context.impl.LocalTxInvocationContext createTxInvocationContext​(org.infinispan.transaction.impl.LocalTransaction localTransaction)
        Deprecated.
        Description copied from interface: InvocationContextFactory
        Returns a LocalTxInvocationContext.
      • createRemoteTxInvocationContext

        public org.infinispan.context.impl.RemoteTxInvocationContext createRemoteTxInvocationContext​(org.infinispan.transaction.impl.RemoteTransaction tx,
                                                                                                     Address origin)
        Deprecated.
        Description copied from interface: InvocationContextFactory
        Returns an RemoteTxInvocationContext.
        Parameters:
        tx - remote transaction
        origin - the origin of the command, or null if local
      • createRemoteInvocationContext

        public org.infinispan.context.impl.NonTxInvocationContext createRemoteInvocationContext​(Address origin)
        Deprecated.
        Description copied from interface: InvocationContextFactory
        Returns an NonTxInvocationContext whose AbstractInvocationContext.isOriginLocal() flag will be true.
        Parameters:
        origin - the origin of the command, or null if local
      • newNonTxInvocationContext

        protected final org.infinispan.context.impl.NonTxInvocationContext newNonTxInvocationContext​(Address origin)
        Deprecated.