From 7cfc73166dae33359e29a7db104f0373d6d48630 Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 31 Mar 2008 20:22:18 +0000 Subject: [PATCH] --- trunk/support/general/pom.xml | 69 ++++++++++++++++ .../org/wamblee/general/TestBeanFactory.java | 25 ++++++ trunk/support/spring/pom.xml | 82 +++++++++++++++++++ 3 files changed, 176 insertions(+) create mode 100644 trunk/support/general/pom.xml create mode 100644 trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java create mode 100644 trunk/support/spring/pom.xml diff --git a/trunk/support/general/pom.xml b/trunk/support/general/pom.xml new file mode 100644 index 00000000..4efa24db --- /dev/null +++ b/trunk/support/general/pom.xml @@ -0,0 +1,69 @@ + + + + org.wamblee + wamblee-utils + 0.2-SNAPSHOT + + + 4.0.0 + org.wamblee + wamblee-support-general + jar + wamblee.org support library + http://wamblee.org + + + commons-logging + commons-logging + + + org.apache.derby + derby + test + + + org.apache.derby + derbyclient + test + + + org.apache.derby + derbynet + test + + + commons-beanutils + commons-beanutils + + + org.wamblee + wamblee-hibernate-jpa + 0.2-SNAPSHOT + + + + log4j + log4j + + + dom4j + dom4j + + + net.sf.ehcache + ehcache + + + xerces + xercesImpl + + + jaxen + jaxen + + + + diff --git a/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java b/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java new file mode 100644 index 00000000..59b1dc18 --- /dev/null +++ b/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java @@ -0,0 +1,25 @@ +package org.wamblee.general; + +public class TestBeanFactory implements BeanFactory { + + @Override + public Object find(String aId) { + // TODO Auto-generated method stub + return null; + } + + @Override + public T find(Class aClass) { + if ( aClass.equals(String.class)) { + return (T)"hello"; + } + return null; + } + + @Override + public T find(String aId, Class aClass) { + // TODO Auto-generated method stub + return null; + } + +} diff --git a/trunk/support/spring/pom.xml b/trunk/support/spring/pom.xml new file mode 100644 index 00000000..8f95250f --- /dev/null +++ b/trunk/support/spring/pom.xml @@ -0,0 +1,82 @@ + + + + org.wamblee + wamblee-utils + 0.2-SNAPSHOT + + + 4.0.0 + org.wamblee + wamblee-support-spring + jar + wamblee.org support library + http://wamblee.org + + + org.wamblee + wamblee-support-general + 0.2-SNAPSHOT + + + org.wamblee + wamblee-support-general + 0.2-SNAPSHOT + test-jar + provided + + + org.springframework + spring-beans + + + org.springframework + spring-hibernate3 + + + org.hibernate + hibernate + + + + + org.wamblee + wamblee-hibernate-jpa + 0.2-SNAPSHOT + + + org.springframework + spring-aop + + + + log4j + log4j + + + dom4j + dom4j + + + net.sf.ehcache + ehcache + + + xerces + xercesImpl + + + org.wamblee + wamblee-hibernate-jpa + 0.2-SNAPSHOT + + + jaxen + jaxen + + + + + -- 2.31.1