Christian Tre [http://community.jboss.org/people/RET] replied to the discussion

"nested Interceptor-calls"

To view the discussion, visit: http://community.jboss.org/message/543365#543365

--------------------------------------------------------------
works fine now:

    @Resource
    private javax.ejb.SessionContext sessionContext;
 
    // here i can remove interceptor now :)
    public void create(String name, String value, Company company, boolean 
visible, boolean readonly) {
        Parameter p = new Parameter(name, value, company, visible, readonly);
        
        // call Proxy here to raise interception
        ParameterServiceLocal ps = 
this.sessionContext.getBusinessObject(ParameterServiceLocal.class);
        ps.create(p);
    }


thank you!

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/543365#543365]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to