本文整理汇总了Java中javax.interceptor.ExcludeClassInterceptors类的典型用法代码示例。如果您正苦于以下问题:Java ExcludeClassInterceptors类的具体用法?Java ExcludeClassInterceptors怎么用?Java ExcludeClassInterceptors使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ExcludeClassInterceptors类属于javax.interceptor包,在下文中一共展示了ExcludeClassInterceptors类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: awaitTimerCall
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public boolean awaitTimerCall() {
try {
latch.await(10, SECONDS);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
return timerServiceCalled;
}
开发者ID:PacktPublishing,项目名称:Mastering-Java-EE-Development-with-WildFly,代码行数:10,代码来源:ItemServiceBean.java
示例2: assignUserToGroups
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public void assignUserToGroups(DataService ds, Collection<UserGroup> groups,
PlatformUser user) {
List<PlatformUser> users = new ArrayList<PlatformUser>();
users.add(user);
for (UserGroup userGroup : groups) {
assignUsersToGroup(ds, userGroup, users);
}
}
示例3: removeUserFromGroups
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public void removeUserFromGroups(DataService ds, List<UserGroup> groups,
PlatformUser user) {
List<PlatformUser> users = new ArrayList<PlatformUser>();
users.add(user);
for (UserGroup group : groups) {
removeUsersFromGroup(ds, group, users);
}
}
示例4: anotherBusinessMethod
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@Interceptors({MethodLevelInterceptorOne.class, MethodLevelInterceptorTwo.class})
@ExcludeClassInterceptors
public List<String> anotherBusinessMethod() {
List<String> list = new ArrayList<String>();
list.add("anotherBusinessMethod");
return list;
}
示例5: anotherBusinessMethod
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@Interceptors({MethodLevelInterceptorOne.class, MethodLevelInterceptorTwo.class})
@ExcludeClassInterceptors
public List<String> anotherBusinessMethod() {
final List<String> list = new ArrayList<String>();
list.add("anotherBusinessMethod");
return list;
}
示例6: echo
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@Interceptors({EchoMethodInterceptorViaAnn.class})
@ExcludeClassInterceptors
@ExcludeDefaultInterceptors
public boolean echo(final boolean i) {
calls.add(Call.Bean_Invoke);
return i;
}
示例7: createTimer
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
@Override
public void createTimer() {
timerService.createTimer(100, null);
}
开发者ID:PacktPublishing,项目名称:Mastering-Java-EE-Development-with-WildFly,代码行数:6,代码来源:ItemServiceBean.java
示例8: getItem
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public Item getItem() {
return item;
}
开发者ID:PacktPublishing,项目名称:Mastering-Java-EE-Development-with-WildFly,代码行数:5,代码来源:SimpleService.java
示例9: hello
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@Interceptors({CheckRightsInterceptor.class})
@ExcludeClassInterceptors
public void hello() {
log.debug("*** Inside Hello method");
}
示例10: aBusinessMethod
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
/**
* The @ExcludeClassInterceptors annotation will stop this method of to be
* intercepted and the @ExcludeDefaultInterceptors will the default interceptor
* declared in ejb-jar.xml.
*/
@ExcludeClassInterceptors
@ExcludeDefaultInterceptors
public void aBusinessMethod() {
}
示例11: michNicht
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public void michNicht() {
}
示例12: nonInterceptedCall
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public void nonInterceptedCall(String str)
{
doWasteSomeTime();
}
示例13: getContextData
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
/**
* <code>ClassInterceptor</code> should not intercept this.
*
* @return the contextData
*/
@ExcludeDefaultInterceptors
@ExcludeClassInterceptors
public Map<String, Object> getContextData() {
return contextData;
}
示例14: getContextData
import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
/**
* <code>ClassInterceptor</code> should not intercept this.
*
* @return the contextData
*/
@ExcludeClassInterceptors
public Map<String, Object> getContextData() {
return contextData;
}