1 5 package com.tc.object; 6 7 import com.tc.async.api.StageManager; 8 import com.tc.async.impl.ConfigurationContextImpl; 9 import com.tc.object.handshakemanager.ClientHandshakeManager; 10 import com.tc.object.lockmanager.api.ClientLockManager; 11 import com.tc.object.tx.ClientTransactionManager; 12 13 public class ClientConfigurationContext extends ConfigurationContextImpl { 14 15 public final static String LOCK_RESPONSE_STAGE = "lock_response_stage"; 16 public final static String LOCK_RECALL_STAGE = "lock_recall_stage"; 17 public final static String RECEIVE_ROOT_ID_STAGE = "receive_root_id_stage"; 18 public final static String RECEIVE_OBJECT_STAGE = "receive_object_stage"; 19 public final static String RECEIVE_TRANSACTION_STAGE = "receive_transaction_stage"; 20 public final static String OBJECT_ID_REQUEST_RESPONSE_STAGE = "object_id_request_response_stage"; 21 public final static String RECEIVE_TRANSACTION_COMPLETE_STAGE = "receive_transaction_complete_stage"; 22 public final static String HYDRATE_MESSAGE_STAGE = "hydrate_message_stage"; 23 public final static String BATCH_TXN_ACK_STAGE = "batch_txn_ack_stage"; 24 public static final String CONFIG_MESSAGE_STAGE = "config_message_stage"; 25 public static final String CLIENT_COORDINATION_STAGE = "client_coordination_stage"; 26 public static final String JMXREMOTE_TUNNEL_STAGE = "jmxremote_tunnel_stage"; 27 public static final String DMI_STAGE = "dmi_stage"; 28 29 private final ClientLockManager lockManager; 30 private final RemoteObjectManager remoteObjectManager; 31 private final ClientTransactionManager txManager; 32 private final ClientHandshakeManager clientHandshakeManager; 33 34 public ClientConfigurationContext(StageManager stageManager, ClientLockManager lockManager, 35 RemoteObjectManager remoteObjectManager, ClientTransactionManager txManager, 36 ClientHandshakeManager clientHandshakeManager) { 37 super(stageManager); 38 this.lockManager = lockManager; 39 this.remoteObjectManager = remoteObjectManager; 40 this.txManager = txManager; 41 this.clientHandshakeManager = clientHandshakeManager; 42 } 43 44 public ClientLockManager getLockManager() { 45 return lockManager; 46 } 47 48 public RemoteObjectManager getObjectManager() { 49 return remoteObjectManager; 50 } 51 52 public ClientTransactionManager getTransactionManager() { 53 return txManager; 54 } 55 56 public ClientHandshakeManager getClientHandshakeManager() { 57 return clientHandshakeManager; 58 } 59 60 } | Popular Tags |