Did this really help ?
For me this is not working.
Neither
<bean id="password" class="java.lang.String">
<constructor-arg type="java.lang.String" value="pass"/>
</bean>
Type: Posts; User: snwiem; Keyword(s):
Did this really help ?
For me this is not working.
Neither
<bean id="password" class="java.lang.String">
<constructor-arg type="java.lang.String" value="pass"/>
</bean>
Hi,
i have some trouble with the lucene spring-module (version 0.4).
I have the following setup:
spring.xml: (this is just an extract, cause the while file will be too big)
<bean...
Database-Schema is simple:
Its generated by the following Hibernate-Entity.
/**
*
* @author snwiem
*
And finally the DAO retrieving permissions from the database. In the end just a simple DAO pattern (implemented using hibernate)
public class HibernateCollectionPermissionDao extends...
...
Next you need an own implementation of an DecissionVoter:
Here the code for my implementation of the CollectionPermissionVoter
public class CollectionPermissionVoter extends...
Ok, here are some code extracts. I needed to split over three posts.
First of all the part of the bean definition:
<bean id="msIndexService"...
Thanx for the hint.
I'm using the second solution with the proxy factory reference. This works fine for me.
Sebastian
Well, just that you stay up-to-date to this problem.
What i tried now was:
within my service() method i tried to get a new reference to the bean using something like
public class ServiceBean...
Sound even like the requirements for AccessDecissionVoter. See http://forum.springframework.org/showthread.php?t=26315.
In your case the AccessDecissionVoter is much more simple as it just has to...
Sound like you need something like a decission voter. This concept is provided by acegi. If've implemented something similar which uses AccessDecissionVoters which load the the real permissions...
Hi all,
i have the following problem:
Theres a ProxyFactory which proxies the following interface
public interface IndexService {
public index( Context context );
public update(...
Great :)
file:///C:/temp/lucene works
thanx
Sebastian
The 'allowBeanDefinitionOverriding' on DefaultListableBeanFactory works
as expected.
Unforunately i'm using spring witin a web container loading the bean definition files using the...
Hi,
i'm playing around with the lucene module. As is read on the documentation the FSDirectory is configured within the beanfactory definition like
<bean id="fsDirectory"...
Hi all,
i've an questing concerning application context definitions.
Suggest the following project setup.
Bean1: test1.MyBean
Bean2: test2.MyBean
Bean3: test3.UserA
Bean4: test3.UserB
Hi folks,
i'm really fighting with the spring-configuration intigrating jcr via jackrabbit at the moment.
I've setup an repository withing my spring.xml just like
<bean id="repository"...
I did that already using the jakarta commons configuration library.
All i did was extending the PropertyPlaceHolder with an property accepting 'org.apache.commons.configuration.Configuration'.
...
Hi,
im loading my application context using the ContextLoaderListener. The application context is combined by several seperated bean definition xmls.
All bean definition files contain a...