1 /*2 * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.3 */4 package com.tc.objectserver.handler;5 6 import com.tc.async.api.AbstractEventHandler;7 import com.tc.async.api.ConfigurationContext;8 import com.tc.async.api.EventContext;9 import com.tc.objectserver.core.api.ServerConfigurationContext;10 import com.tc.objectserver.tx.TransactionalObjectManager;11 12 public class ApplyCompleteTransactionHandler extends AbstractEventHandler {13 14 private TransactionalObjectManager txnObjectMgr;15 16 public void handleEvent(EventContext context) {17 this.txnObjectMgr.processApplyComplete();18 }19 20 public void initialize(ConfigurationContext context) {21 super.initialize(context);22 ServerConfigurationContext oscc = (ServerConfigurationContext) context;23 txnObjectMgr = oscc.getTransactionalObjectManager();24 }25 26 }27