[jboss-user] [EJB 3.0] - nested Interceptor-calls

Christian Tre do-not-reply at jboss.com
Mon May 17 06:05:48 EDT 2010


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100517/0645ba26/attachment.html 


More information about the jboss-user mailing list