Spring for Apache Hadoop

org.springframework.yarn.container
Class ContainerHandler

java.lang.Object
  extended by org.springframework.yarn.container.ContainerHandler

public class ContainerHandler
extends java.lang.Object

Handler for a common object representing something to be run. This is usually used when a plain pojo is configured with @YarnContainer and @OnYarnContainerStart annotations.

Author:
Janne Valkealahti

Constructor Summary
ContainerHandler(java.lang.Object target, java.lang.reflect.Method method)
          Instantiates a new container handler.
 
Method Summary
 void handle()
          Handle and run method associated with a bean target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerHandler

public ContainerHandler(java.lang.Object target,
                        java.lang.reflect.Method method)
Instantiates a new container handler.

Parameters:
target - the target bean
method - the target method
Method Detail

handle

public void handle()
Handle and run method associated with a bean target.


Spring for Apache Hadoop