Example usage for org.springframework.beans.factory.annotation Value toString

List of usage examples for org.springframework.beans.factory.annotation Value toString

Introduction

In this page you can find the example usage for org.springframework.beans.factory.annotation Value toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:lab.home.mvn_tomcat_spring_redis_rest_api.RedisController.java

@RequestMapping(value = "/diag", method = RequestMethod.GET)
public String diag() {
    log.info("request hit redis/diag");

    Value ddao = ctx.getBean(Value.class);
    return "Diags, ctx = " + ctx.toString() + " , ctx.getBean(Value.class)="
            + ctx.getBean(Value.class).toString() + " , actual ddao = " + ddao.toString() + "<end";
}