com.ibm.cics.osgi.classification

Interface ICICSTransactionSelector

  • All Known Implementing Classes:
    CICSTransactionSelectorBase


    public interface ICICSTransactionSelector
    This interface can be implemented in order to provide a mapping service to map work to a suitable CICS Transaction.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String selectTransaction(java.util.concurrent.Callable<?> callable)
      Selects a suitable CICS transaction id to run work for the nominated Callable under.
      java.lang.String selectTransaction(ICICSHttpRunnable cicsHttpRunnable)
      Selects a suitable CICS transaction id to run work for the nominated ICICSHttpRunnable under.
      java.lang.String selectTransaction(java.lang.Runnable runnable)
      Selects a suitable CICS transaction id to run work for the nominated Runnable under.
    • Method Detail

      • selectTransaction

        java.lang.String selectTransaction(java.util.concurrent.Callable<?> callable)
        Selects a suitable CICS transaction id to run work for the nominated Callable under.
        Parameters:
        callable - the Callable to map to a transaction id
        Returns:
        the desired transaction id, or null if no decision is made.
      • selectTransaction

        java.lang.String selectTransaction(java.lang.Runnable runnable)
        Selects a suitable CICS transaction id to run work for the nominated Runnable under.
        Parameters:
        runnable - the Runnable to map to a transaction id
        Returns:
        the desired transaction id, or null if no decision is made.
      • selectTransaction

        java.lang.String selectTransaction(ICICSHttpRunnable cicsHttpRunnable)
        Selects a suitable CICS transaction id to run work for the nominated ICICSHttpRunnable under.
        Parameters:
        cicsHttpRunnable - the Runnable to map to a transaction id
        Returns:
        the desired transaction id, or null if no decision is made.