com.acciente.induction.resolver
Class ControllerResolver.Resolution

java.lang.Object
  extended by com.acciente.induction.resolver.ControllerResolver.Resolution
Enclosing interface:
ControllerResolver

public static class ControllerResolver.Resolution
extends Object

A container object for the resolution information.

Author:
Adinath Raveendra Raj

Constructor Summary
ControllerResolver.Resolution(String sClassName, String sMethodName)
          Creates a resolution object.
ControllerResolver.Resolution(String sClassName, String sMethodName, boolean bIsIgnoreMethodNameCase)
          Creates a resolution object.
ControllerResolver.Resolution(String sClassName, String sMethodName, boolean bIsIgnoreMethodNameCase, Map oOptions)
          Creates a resolution object.
 
Method Summary
 String getClassName()
           
 String getMethodName()
           
 Map getOptions()
           
 boolean isIgnoreMethodNameCase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerResolver.Resolution

public ControllerResolver.Resolution(String sClassName,
                                     String sMethodName)
Creates a resolution object.

Parameters:
sClassName - the fully qualified name of the controller class
sMethodName - the name of the method to invoke in the controller class

ControllerResolver.Resolution

public ControllerResolver.Resolution(String sClassName,
                                     String sMethodName,
                                     boolean bIsIgnoreMethodNameCase)
Creates a resolution object.

Parameters:
sClassName - the fully qualified name of the controller class
sMethodName - the name of the method to invoke in the controller class
bIsIgnoreMethodNameCase - tells Induction to ignore case when attempting to find a match for the method name in this resolution.

ControllerResolver.Resolution

public ControllerResolver.Resolution(String sClassName,
                                     String sMethodName,
                                     boolean bIsIgnoreMethodNameCase,
                                     Map oOptions)
Creates a resolution object.

Parameters:
sClassName - the fully qualified name of the controller class
sMethodName - the name of the method to invoke in the controller class
bIsIgnoreMethodNameCase - tells Induction to ignore case when attempting to find a match for the method name in this resolution.
oOptions - is an optional map (may be null) containing data that the resolver wishes to store as part of the resolution. The controller's handler can access this data by choosing have the resolution object injected. This options maps is useful if the resolver is used to map a wide range of requests to a small number of controllers whose behaviour is parameterized by the options map.
Method Detail

getClassName

public String getClassName()

getMethodName

public String getMethodName()

isIgnoreMethodNameCase

public boolean isIgnoreMethodNameCase()

getOptions

public Map getOptions()


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.