Skip to content

ryantenney/spring-jndi-annotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages