" launcher=" + getLauncher() +
" monitor=" + getMonitor());
}
// setting up internal dispatcher
getAllocator().addListener(new ContainerAllocatorListener() {
@Override
public void allocated(List<Container> allocatedContainers) {
for (Container container : allocatedContainers) {
if (getMonitor() instanceof ContainerAware) {
((ContainerAware)getMonitor()).onContainer(allocatedContainers);