Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    14
    Views
    4,812

    So I will give you the code to explain that, this...

    So I will give you the code to explain that, this is code I have shown before:
    applicationContext.xml


    <bean id="mixinbean" class="org.springframework.aop.framework.ProxyFactoryBean">
    ...
  2. Replies
    14
    Views
    4,812

    And I don't want to wrap the FactoryBean itself,I...

    And I don't want to wrap the FactoryBean itself,I just use proxyfactorybean to generate proxy class instead.
    :)
  3. Replies
    14
    Views
    4,812

    hehe, I mean that in the first proxyfactorybean,...

    hehe,
    I mean that in the first proxyfactorybean, I add interceptor on the person bean, so it will generate a proxy class at the runtme to wrap person bean.

    And for the second proxyfactorybean I...
  4. Replies
    14
    Views
    4,812

    this is the test code:

    this is the test code:


    <bean id="person"
    class="org.springframework.aop.framework.ProxyFactoryBean">
    <property name="proxyInterfaces"><value>com.mycompany.Person</value></property>
    ...
  5. Replies
    14
    Views
    4,812

    suppose I have a bean called businessbean, and I...

    suppose I have a bean called businessbean, and I have add some interceptor on it via ProxyFactorybean, so when I inject into another bean, I get a proxy class. So my question is how can I add the...
  6. Replies
    14
    Views
    4,812

    very thanks for your reply, and how can I add...

    very thanks for your reply,
    and how can I add interceptor on proxyfactorybean instead of the real bean.
  7. Replies
    14
    Views
    4,812

    how to inject proxyfactorybean?

    as title[/code]
  8. Replies
    3
    Views
    2,535

    Thanks for the reply,and I am wonder if I can use...

    Thanks for the reply,and I am wonder if I can use a ProxyFactoryBean in the applicationContext.xml that reference to the autoproxyed mixin class?this ProxyFactoryBean has some interceptor on the...
  9. Replies
    3
    Views
    2,535

    any body can help me? it's so urgent problem....

    any body can help me? it's so urgent problem.
    and for example this is the my sample code from spring test suite

    <bean id="introductionBeanNameProxyCreator"...
  10. Replies
    3
    Views
    2,535

    how to add interceptor to mixin class

    I have use BeanNameAutoProxyCreator to generate mixin proxy class, but how can I add interceptor to this class? Rod can you help me?
  11. Replies
    3
    Views
    2,199

    I found that in AbstractScript class, the...

    I found that in AbstractScript class, the following
    is = context.getResourceLoader().getResource(location).getInputStream();
    always return the same is object, I have set autorefresh to true,so it...
  12. Replies
    3
    Views
    2,199

    this is my code: applicationContext.xml: ...

    this is my code:



    applicationContext.xml&#58;

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">...
  13. Replies
    3
    Views
    2,199

    How to let Groovy dynamic

    I have integrate groovy into spring use groovyscriptfactory, but after I change the groovy file content, I find that it didn't impact the result,
    for example,I have a webcontroller which has a...
  14. And then I test the hibernate code,I found that...

    And then I test the hibernate code,I found that it do well with mysql, and didn't return any record in oracle :(.
    I don't know where the error.
  15. Why the code can work in MySQL and can not work in Oracle

    The code is following:

    public static final String DEF_USERS_BY_USERNAME_QUERY =
    "SELECT LOGINNAME,PASSWORD,ENABLED FROM APP_USER WHERE LOGINNAME = ? ";

    List users =...
  16. Replies
    3
    Views
    2,960

    the following is the domain class: import...

    the following is the domain class:
    import java.io.Serializable;
    import java.util.Set;
    import org.apache.commons.lang.builder.EqualsBuilder;
    import org.apache.commons.lang.builder.HashCodeBuilder;...
  17. Replies
    3
    Views
    2,960

    the following is the domain class: import...

    the following is the domain class:
    import java.io.Serializable;
    import java.util.Set;
    import org.apache.commons.lang.builder.EqualsBuilder;
    import org.apache.commons.lang.builder.HashCodeBuilder;...
  18. Replies
    3
    Views
    2,960

    Can not execute Update in Hibernate

    hibernate.hbm.xml
    <class name="com.test.Aclrole" table="acl_role" discriminator-value="W">
    <id name="roleid" type="int" >
    <column name="roleid" not-null="true"/>
    <generator class="native"/> ...
Results 1 to 18 of 18