All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mwarc.embeddedmemcached.EmbeddedMemcached Maven / Gradle / Ivy

Go to download

embedded-memcached-spring provides a way to use jmemcache-daemon with Spring TestContext Framework

There is a newer version: 0.1.4
Show newest version
package com.github.mwarc.embeddedmemcached;

import org.springframework.test.context.TestExecutionListeners;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
@Documented
@TestExecutionListeners({JMemcachedTestExecutionListener.class, DependencyInjectionTestExecutionListener.class})
public @interface EmbeddedMemcached {

    String host() default "127.0.0.1";

    int port() default 11214;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy