org.iqual.chaplin
Class MapContextHandler

java.lang.Object
  extended by org.iqual.chaplin.AbstractContextHandler
      extended by org.iqual.chaplin.MapContextHandler
All Implemented Interfaces:
ContextHandler, MessageReceiver

public class MapContextHandler
extends AbstractContextHandler

Since:
Jun 12, 2009 7:51:39 PM
Author:
Zbynek Slajchrt

Constructor Summary
MapContextHandler()
           
MapContextHandler(boolean strict)
           
 
Method Summary
protected  boolean canInvoke(Object source, String methodName, Class[] methodDesc)
          Request for possibility of method invocation.
 Object get(String propertyName)
           
protected  Object get(String propertyName, Class fieldType, Object instance)
          Request for value of a property.
protected  boolean hasValue(String propertyName, Class fieldType)
          Request for existence of a property.
protected  boolean invoke(Object source, String methodName, Class[] methodDesc)
          Request for the method invocation.
protected  void set(String propertyName, Class fieldType, Object value, Object instance)
          Request for setting the value of a property.
 void set(String propertyName, Object value)
           
 
Methods inherited from class org.iqual.chaplin.AbstractContextHandler
onMessageReceived
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapContextHandler

public MapContextHandler()

MapContextHandler

public MapContextHandler(boolean strict)
Method Detail

hasValue

protected boolean hasValue(String propertyName,
                           Class fieldType)
                    throws Exception
Description copied from class: AbstractContextHandler
Request for existence of a property.

Specified by:
hasValue in class AbstractContextHandler
Throws:
Exception

get

public Object get(String propertyName)
           throws Exception
Throws:
Exception

get

protected Object get(String propertyName,
                     Class fieldType,
                     Object instance)
              throws Exception
Description copied from class: AbstractContextHandler
Request for value of a property.

Specified by:
get in class AbstractContextHandler
Throws:
Exception

set

public void set(String propertyName,
                Object value)
         throws Exception
Throws:
Exception

set

protected void set(String propertyName,
                   Class fieldType,
                   Object value,
                   Object instance)
            throws Exception
Description copied from class: AbstractContextHandler
Request for setting the value of a property.

Specified by:
set in class AbstractContextHandler
Throws:
Exception

canInvoke

protected boolean canInvoke(Object source,
                            String methodName,
                            Class[] methodDesc)
                     throws Exception
Description copied from class: AbstractContextHandler
Request for possibility of method invocation.

Specified by:
canInvoke in class AbstractContextHandler
Throws:
Exception

invoke

protected boolean invoke(Object source,
                         String methodName,
                         Class[] methodDesc)
                  throws Exception
Description copied from class: AbstractContextHandler
Request for the method invocation.

Specified by:
invoke in class AbstractContextHandler
Throws:
Exception


Copyright © 2009 iquality.org. All Rights Reserved.