org.chromattic.core.mapper
Class MethodMapper.Create<C extends ObjectContext<C>>

java.lang.Object
  extended by org.chromattic.core.mapper.MethodMapper<C>
      extended by org.chromattic.core.mapper.MethodMapper.Create<C>
All Implemented Interfaces:
MethodInvoker<C>
Enclosing class:
MethodMapper<C extends ObjectContext<C>>

public static class MethodMapper.Create<C extends ObjectContext<C>>
extends MethodMapper<C>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.chromattic.core.mapper.MethodMapper
MethodMapper.Create<C extends ObjectContext<C>>, MethodMapper.Destroy, MethodMapper.FindById<C extends ObjectContext<C>>
 
Constructor Summary
MethodMapper.Create(org.reflext.api.MethodInfo method)
           
 
Method Summary
 java.lang.Object invoke(C ctx)
           
 java.lang.Object invoke(C ctx, java.lang.Object arg)
           
 java.lang.Object invoke(C ctx, java.lang.Object[] args)
           
 
Methods inherited from class org.chromattic.core.mapper.MethodMapper
getMethod, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodMapper.Create

public MethodMapper.Create(org.reflext.api.MethodInfo method)
Method Detail

invoke

public java.lang.Object invoke(C ctx)
                        throws java.lang.Throwable
Specified by:
invoke in interface MethodInvoker<C extends ObjectContext<C>>
Overrides:
invoke in class MethodMapper<C extends ObjectContext<C>>
Throws:
java.lang.Throwable

invoke

public java.lang.Object invoke(C ctx,
                               java.lang.Object arg)
                        throws java.lang.Throwable
Specified by:
invoke in interface MethodInvoker<C extends ObjectContext<C>>
Overrides:
invoke in class MethodMapper<C extends ObjectContext<C>>
Throws:
java.lang.Throwable

invoke

public java.lang.Object invoke(C ctx,
                               java.lang.Object[] args)
Specified by:
invoke in interface MethodInvoker<C extends ObjectContext<C>>
Overrides:
invoke in class MethodMapper<C extends ObjectContext<C>>


Copyright © 2012 eXo Platform SAS. All Rights Reserved.