Object appCookie,
Container container) {
ContainerId containerId = container.getId();
if (appContext.getAllContainers().addContainerIfNew(container)) {
appContext.getAllNodes().nodeSeen(container.getNodeId());
sendEvent(new AMNodeEventContainerAllocated(container
.getNodeId(), container.getId()));
}
AMSchedulerEventTALaunchRequest event =
(AMSchedulerEventTALaunchRequest) appCookie;