PAR version of springtravel
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#Wed Apr 30 14:04:29 BST 2008
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
||||
@@ -0,0 +1,3 @@
|
||||
#Wed May 07 10:35:56 BST 2008
|
||||
classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER/owners=jst.java\:5.0
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="SpringSource AP v1.0"/>
|
||||
<installed facet="jst.java" version="5.0"/>
|
||||
<installed facet="com.springsource.platform.bundle" version="1.0"/>
|
||||
</faceted-project>
|
||||
@@ -0,0 +1,12 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Spring Travel Shared Resources Module
|
||||
Bundle-SymbolicName: org.springframework.samples.springtravel.resource
|
||||
Bundle-Vendor: SpringSource
|
||||
Import-Package:
|
||||
javax.sql
|
||||
Import-Bundle:
|
||||
com.springsource.org.hsqldb;version="[1.8.0, 2.0.0)",
|
||||
com.springsource.org.apache.commons.dbcp;version="[1.2.2.osgi,1.3.0)"
|
||||
Import-Library:
|
||||
org.springframework.spring;version="[2.5.4, 3.0)"
|
||||
@@ -0,0 +1,18 @@
|
||||
<?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">
|
||||
|
||||
<!-- Deploys a in-memory "booking" datasource populated; can easily swap out-->
|
||||
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
||||
<description>
|
||||
commons-dbcp based datasource as org.springframework.jdbc.datasource.DriverManagerDataSource is not supported under osgi
|
||||
</description>
|
||||
<property name="driverClassName" value="org.hsqldb.jdbcDriver" />
|
||||
<property name="url" value="jdbc:hsqldb:mem:booking" />
|
||||
<property name="username" value="sa" />
|
||||
<property name="password" value="" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans:beans
|
||||
xmlns="http://www.springframework.org/schema/osgi"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:beans="http://www.springframework.org/schema/beans"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/osgi
|
||||
http://www.springframework.org/schema/osgi/spring-osgi-1.0.xsd
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
|
||||
|
||||
<service ref="dataSource" interface="javax.sql.DataSource" />
|
||||
|
||||
</beans:beans>
|
||||
Reference in New Issue
Block a user