Example usage for org.springframework.data.gemfire.function.execution DefaultFunctionExecutionMethodMetadata DefaultFunctionExecutionMethodMetadata

List of usage examples for org.springframework.data.gemfire.function.execution DefaultFunctionExecutionMethodMetadata DefaultFunctionExecutionMethodMetadata

Introduction

In this page you can find the example usage for org.springframework.data.gemfire.function.execution DefaultFunctionExecutionMethodMetadata DefaultFunctionExecutionMethodMetadata.

Prototype

public DefaultFunctionExecutionMethodMetadata(Class<?> serviceInterface) 

Source Link

Usage

From source file:org.springframework.data.gemfire.function.execution.GemfireFunctionProxyFactoryBean.java

/**
 * @param serviceInterface the proxied interface
 * @param gemfireFunctionOperations an interface used to delegate the function invocation (typically a GemFire function template)
 *///w  w w  . j  a v  a 2  s .  c  om
public GemfireFunctionProxyFactoryBean(Class<?> serviceInterface,
        GemfireFunctionOperations gemfireFunctionOperations) {
    Assert.notNull(serviceInterface, "'serviceInterface' must not be null");
    Assert.isTrue(serviceInterface.isInterface(), "'serviceInterface' must be an interface");
    this.serviceInterface = serviceInterface;
    this.gemfireFunctionOperations = gemfireFunctionOperations;
    this.methodMetadata = new DefaultFunctionExecutionMethodMetadata(serviceInterface);
}