NameInvocationStrategy.java :  » Web-Services » crispy » net » sf » crispy » strategy » Java Open Source

Java Open Source » Web Services » crispy 
crispy » net » sf » crispy » strategy » NameInvocationStrategy.java
package net.sf.crispy.strategy;

import java.util.Map;

import net.sf.crispy.InvocationStrategy;

/**
 * Return the Interface-Name.
 *  
 * @author Linke
 *
 */
public class NameInvocationStrategy implements InvocationStrategy {

  private String interfaceName = null;
  
  public NameInvocationStrategy(String pvInterfaceName) {
    interfaceName = pvInterfaceName;
  }
  
  public Object convert(Map pvPropertyMap) {
    return interfaceName;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.