Skip to content

Commit

Permalink
Better mock of the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alesj committed Jan 11, 2011
1 parent b354d7f commit 24ce66f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Expand Up @@ -44,7 +44,6 @@ public class IgnoredAtEJBTest
public static Archive<?> deploy()
{
return ShrinkWrap.create(BeanArchive.class)
.intercept(MyInterceptor.class)
.addPackage(IgnoredAtEJBTest.class.getPackage());
}

Expand Down
Expand Up @@ -35,7 +35,7 @@ public class MyController
@EJB
private MyEJB ejb;

@SomeBinding
@Interceptors(MyInterceptor.class)
public void control()
{
System.err.println("Here: " + getClass());
Expand Down
Expand Up @@ -23,16 +23,13 @@
package org.jboss.weld.tests.interceptors.weld783;

import javax.interceptor.AroundInvoke;
import javax.interceptor.Interceptor;
import javax.interceptor.InvocationContext;

import java.io.Serializable;

/**
* @author <a href="mailto:ales.justin@jboss.org">Ales Justin</a>
*/
@Interceptor
@SomeBinding
public class MyInterceptor implements Serializable
{
private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit 24ce66f

Please sign in to comment.