org.clazzes.util.sched
Class JoinpointCallableAdapter

java.lang.Object
  extended by 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.


Constructor Summary
JoinpointCallableAdapter(org.aopalliance.intercept.Joinpoint joinpoint)
           
 
Method Summary
 Object call()
           
 org.aopalliance.intercept.Joinpoint getJoinpoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinpointCallableAdapter

public JoinpointCallableAdapter(org.aopalliance.intercept.Joinpoint joinpoint)
Method Detail

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.