Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/spring-2.5.6.A-sample/src/main')
-rw-r--r--test-apps/spring-2.5.6.A-sample/src/main/java/spring/sample/SampleBean.java46
-rw-r--r--test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/spring/applicationContext.xml9
3 files changed, 63 insertions, 0 deletions
diff --git a/test-apps/spring-2.5.6.A-sample/src/main/java/spring/sample/SampleBean.java b/test-apps/spring-2.5.6.A-sample/src/main/java/spring/sample/SampleBean.java
new file mode 100644
index 00000000..8964939e
--- /dev/null
+++ b/test-apps/spring-2.5.6.A-sample/src/main/java/spring/sample/SampleBean.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2010 VMware Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * VMware Inc. - initial contribution
+ *******************************************************************************/
+
+package spring.sample;
+
+import org.springframework.beans.BeanUtils;
+
+public class SampleBean {
+
+ @SuppressWarnings("unused")
+ private final BeanUtils beanUtils;
+
+ public SampleBean() {
+ this.beanUtils = new BeanUtils() {
+ };
+ }
+
+ private String username;
+
+ private String password;
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+}
diff --git a/test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/MANIFEST.MF b/test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..35961ba1
--- /dev/null
+++ b/test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-Name: Spring 2.5.6.A Sample
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: spring.256A.sample
+Bundle-Version: 1.0.0
+Import-Bundle: org.springframework.beans;version="[2.5.6.A,2.5.6.A]"
+
+
diff --git a/test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/spring/applicationContext.xml b/test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/spring/applicationContext.xml
new file mode 100644
index 00000000..55be4033
--- /dev/null
+++ b/test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/spring/applicationContext.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <bean id="sampleBean" class="spring.sample.SampleBean">
+ <property name="username" value="admin"></property>
+ </bean>
+</beans>

Back to the top