org.clazzes.util.sched
Class JoinpointCallableAdapter
java.lang.Object
org.clazzes.util.sched.JoinpointCallableAdapter
- All Implemented Interfaces:
- Callable<Object>
public class JoinpointCallableAdapter
- extends Object
- implements Callable<Object>
A callable, which is an adapter for a Joinpoint
.
This allows to schedule a MethodInvocation
to
a IOneTimeScheduler
instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoinpointCallableAdapter
public JoinpointCallableAdapter(org.aopalliance.intercept.Joinpoint joinpoint)
call
public Object call()
throws Exception
- Specified by:
call
in interface Callable<Object>
- Throws:
Exception
getJoinpoint
public org.aopalliance.intercept.Joinpoint getJoinpoint()
- Returns:
- The joinpoint backed by this callable.
Copyright © 2013. All Rights Reserved.