net.sf.crispy
Interface InvocationStrategy

All Known Implementing Classes:
ClassMethodMapInvocationStrategy, ClassWithOutPackageInvocationStrategy, NameInvocationStrategy, NameSpacePlusMethodInvocationStrategy, RestInvocationStrategy, UrlPlusClassNameInvocationStrategy

public interface InvocationStrategy

This interface describe the converter (mapping) to the invocation string (a url for example) from the invocation class.

For example:
the url (namespace) = http://localhost:8080/axis/services
invoke of the class: test.crispy.example.service.Calculator
convert result: http://localhost:8080/axis/services/Calculator
OR
class (namespace): test.crispy.example.service.Calculator
invocation string = method name: add
convert result: test.crispy.example.service.Calculator.add

Author:
Linke

Field Summary
static java.lang.String CLASS_NAME
           
static java.lang.String CONST_NAMESPACE
           
static java.lang.String METHOD_NAME
           
static java.lang.String URL
           
 
Method Summary
 java.lang.Object convert(java.util.Map pvPropertyMap)
          Create a invocation object of different input parameter.
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values

METHOD_NAME

public static final java.lang.String METHOD_NAME
See Also:
Constant Field Values

CONST_NAMESPACE

public static final java.lang.String CONST_NAMESPACE
See Also:
Constant Field Values

URL

public static final java.lang.String URL
See Also:
Constant Field Values
Method Detail

convert

public java.lang.Object convert(java.util.Map pvPropertyMap)
Create a invocation object of different input parameter.

Parameters:
pvPropertyMap - Properties to create the invocation string.
Returns:
The invocation string.


Copyright © 2005-2006 Crispy. All Rights Reserved.