Package org.jboss.invocation

Examples of org.jboss.invocation.CannotProceedException


    public Object processInvocation(final InterceptorContext context) throws Exception {
        // Get the appropriate method from the previously associated instance
        final ComponentInstance instance = context.getPrivateData(ComponentInstance.class);
        if (instance == null) {
            throw new CannotProceedException("No instance is associated with this component class");
        }
        context.setTarget(instance.getInstance());
        final Interceptor interceptor = instance.getInterceptor(context.getMethod());
        return interceptor.processInvocation(context);
    }
View Full Code Here

TOP

Related Classes of org.jboss.invocation.CannotProceedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.