org.springframework.yarn.container
Class ContainerHandler
java.lang.Object
org.springframework.yarn.container.ContainerHandler
public class ContainerHandler
- extends 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
|
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 |
ContainerHandler
public ContainerHandler(Object target,
Method method)
- Instantiates a new container handler.
- Parameters:
target - the target beanmethod - the target method
handle
public void handle()
- Handle and run method associated with a bean target.