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

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

public static class MethodMapper.FindById<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.FindById(org.reflext.api.MethodInfo method, org.reflext.api.ClassTypeInfo type)
           
 
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.FindById

public MethodMapper.FindById(org.reflext.api.MethodInfo method,
                             org.reflext.api.ClassTypeInfo type)
                      throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
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)
                        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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.