Search:

Type: Posts; User: snwiem; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    59,117

    Did this really help ? For me this is not...

    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>
  2. LuceneIndexAccessException: The indexed is locked. ?

    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...
  3. Replies
    7
    Views
    1,826

    Database-Schema is simple: Its generated by...

    Database-Schema is simple:

    Its generated by the following Hibernate-Entity.



    /**
    *
    * @author snwiem
    *
  4. Replies
    7
    Views
    1,826

    And finally the DAO retrieving permissions from...

    And finally the DAO retrieving permissions from the database. In the end just a simple DAO pattern (implemented using hibernate)


    public class HibernateCollectionPermissionDao extends...
  5. Replies
    7
    Views
    1,826

    ... Next you need an own implementation of an...

    ...
    Next you need an own implementation of an DecissionVoter:
    Here the code for my implementation of the CollectionPermissionVoter


    public class CollectionPermissionVoter extends...
  6. Replies
    7
    Views
    1,826

    Ok, here are some code extracts. I needed to...

    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"...
  7. Thanx for the hint. I'm using the second...

    Thanx for the hint.

    I'm using the second solution with the proxy factory reference. This works fine for me.

    Sebastian
  8. Well, just that you stay up-to-date to this...

    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...
  9. Replies
    1
    Views
    801

    Sound even like the requirements for...

    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...
  10. Replies
    7
    Views
    1,826

    Sound like you need something like a decission...

    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...
  11. MethodSecurityInterceptor triggered from delegating methods ?

    Hi all,

    i have the following problem:

    Theres a ProxyFactory which proxies the following interface

    public interface IndexService {
    public index( Context context );
    public update(...
  12. Replies
    3
    Views
    1,533

    Great :) file:///C:/temp/lucene works thanx...

    Great :)

    file:///C:/temp/lucene works

    thanx
    Sebastian
  13. The 'allowBeanDefinitionOverriding' on...

    The 'allowBeanDefinitionOverriding' on DefaultListableBeanFactory works
    as expected.

    Unforunately i'm using spring witin a web container loading the bean definition files using the...
  14. Replies
    3
    Views
    1,533

    Problems with lucene FSDirectoryFactoryBean

    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"...
  15. ref local does not preserve local bean definitions ?

    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
  16. SearchIndex requires 'path' parameter in configuration

    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"...
  17. Replies
    3
    Views
    11,765

    I did that already using the jakarta commons...

    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'.
    ...
  18. Binding BeanFactoryPostProcessors to a single bean factory

    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...
Results 1 to 18 of 18