org.chromattic.core.mapper
Class MethodMapper

java.lang.Object
  extended by org.chromattic.core.mapper.MethodMapper
All Implemented Interfaces:
MethodInvoker
Direct Known Subclasses:
MethodMapper.Create, MethodMapper.Destroy, MethodMapper.FindById

public class MethodMapper
extends Object
implements MethodInvoker

Version:
$Revision$
Author:
Julien Viet

Nested Class Summary
static class MethodMapper.Create
           
static class MethodMapper.Destroy
           
static class MethodMapper.FindById
           
 
Constructor Summary
MethodMapper(Method method)
           
 
Method Summary
 Method getMethod()
           
 Object invoke(ObjectContext ctx, Method method, Object[] args)
           
 Object invoke(ObjectContext context, Object[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodMapper

public MethodMapper(Method method)
Method Detail

invoke

public Object invoke(ObjectContext context,
                     Object[] args)
              throws Throwable
Throws:
Throwable

getMethod

public Method getMethod()

invoke

public Object invoke(ObjectContext ctx,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface MethodInvoker
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 eXo Platform SAS. All Rights Reserved.