--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
+ ">
+
+ <!-- Providers -->
+ <bean id="processListTableLabelProvider"
+ class="org.argeo.slc.client.contentprovider.ProcessListTableLabelProvider" />
+ <bean id="processListStructuredContentProvider"
+ class="org.argeo.slc.client.contentprovider.ProcessListStructuredContentProvider" />
+ <bean id="processDetailContentProvider"
+ class="org.argeo.slc.client.contentprovider.ProcessDetailContentProvider"
+ scope="prototype" />
+ <bean id="resultDetailContentProvider"
+ class="org.argeo.slc.client.contentprovider.ResultDetailContentProvider"
+ scope="prototype" />
+ <bean id="resultDetailLabelProvider"
+ class="org.argeo.slc.client.contentprovider.ResultDetailLabelProvider"
+ scope="prototype" />
+
+ <!-- Aspects -->
+ <aop:aspectj-autoproxy />
+ <bean id="contentProviderAspect" class="org.argeo.slc.client.aspects.ContentProviderAspect">
+ <property name="sessionFactory" ref="sessionFactory" />
+ <!-- <property name="transactionManager" ref="transactionManager" /> -->
+ </bean>
+</beans>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi \r
+ http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+ http://www.springframework.org/schema/beans \r
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
+\r
+ <beans:description>\r
+ This bundle is the bridge between the slc RCP\r
+ client\r
+ and hibernate implementation of the model.\r
+\r
+ Corresponding java classes\r
+ are implemented\r
+ in the org.client.slc.client.core bundle.\r
+ </beans:description>\r
+\r
+ <!-- Services exposed by the bundle -->\r
+ <service ref="processListTableLabelProvider" interface="org.eclipse.jface.viewers.ITableLabelProvider" />\r
+ <service ref="processListStructuredContentProvider"\r
+ interface="org.eclipse.jface.viewers.IStructuredContentProvider" />\r
+ <service ref="processDetailContentProvider" interface="org.eclipse.jface.viewers.ITreeContentProvider" />\r
+ <service ref="resultDetailLabelProvider" interface="org.eclipse.jface.viewers.ITableLabelProvider" />\r
+ <service ref="resultDetailContentProvider" interface="org.eclipse.jface.viewers.ITreeContentProvider" />\r
+\r
+ <!-- References Needed -->\r
+ <reference id="slcExecutionDao" interface="org.argeo.slc.dao.process.SlcExecutionDao"\r
+ context-class-loader="service-provider" />\r
+\r
+ <reference id="transactionManager"\r
+ interface="org.springframework.transaction.PlatformTransactionManager"\r
+ context-class-loader="service-provider" />\r
+\r
+ <reference id="sessionFactory" interface="org.hibernate.SessionFactory" />\r
+\r
+ <!-- Castor marshalling & un marshalling -->\r
+ <!-- <reference id="marshaller" interface="org.springframework.oxm.Marshaller" \r
+ /> <reference id="unmarshaller" interface="org.springframework.oxm.Unmarshaller" \r
+ /> -->\r
+\r
+</beans:beans>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
+ xmlns:tx="http://www.springframework.org/schema/tx"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+ http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+ <!-- AOP Configuration -->
+ <!-- <aop:config> <aop:pointcut id="tableContentMethods" expression="execution(*
+ org.argeo.slc.client.core.TableContent.*(..))" /> <aop:advisor advice-ref="daoAdvice"
+ pointcut-ref="tableContentMethods" /> </aop:config> <tx:advice id="daoAdvice"
+ transaction-manager="transactionManager"> <tx:attributes> <tx:method name="get*"
+ propagation="REQUIRED" read-only="true" /> <tx:method name="*" propagation="REQUIRED"
+ /> </tx:attributes> </tx:advice> -->
+</beans>
\ No newline at end of file