ryantenney / spring-jndi-annotation

Annotation-driven injection of JNDI values into Spring Beans

Home Page:http://ryantenney.github.io/spring-jndi-annotation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Spring JNDI Annotation Build Status

##Annotation-driven injection of JNDI values into Spring Beans

###Maven

<repository>
	<id>sonatype-oss-public</id>
	<url>https://oss.sonatype.org/content/groups/public/</url>
	<snapshots>
		<enabled>true</enabled>
	</snapshots>
</repository>

<dependency>
	<groupId>com.ryantenney.spring</groupId>
	<artifactId>spring-jndi-annotation</artifactId>
	<version>0.1.0-SNAPSHOT</version>
</dependency>

###Basic Usage

Include in your application context:

<bean class="com.ryantenney.spring.jndi.JndiValueAnnotationBeanPostProcessor" />

And annotate away:

@Component
public class SpringBean {

	@JndiValue("foo")
	private String bar;

}

License

Copyright (c) 2012 Ryan Tenney

Published under Apache Software License 2.0, see LICENSE

Rochester Made

About

Annotation-driven injection of JNDI values into Spring Beans

http://ryantenney.github.io/spring-jndi-annotation/

License:Apache License 2.0


Languages

Language:Java 100.0%