当前位置: 首页>>代码示例>>Java>>正文


Java ExcludeClassInterceptors类代码示例

本文整理汇总了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);
    }
}
 
开发者ID:servicecatalog,项目名称:oscm,代码行数:10,代码来源:UserGroupAuditLogCollector.java

示例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);
    }
}
 
开发者ID:servicecatalog,项目名称:oscm,代码行数:10,代码来源:UserGroupAuditLogCollector.java

示例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;
}
 
开发者ID:apache,项目名称:tomee,代码行数:8,代码来源:ThirdSLSBean.java

示例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;
}
 
开发者ID:apache,项目名称:tomee,代码行数:8,代码来源:ThirdSLSBean.java

示例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;
}
 
开发者ID:apache,项目名称:tomee,代码行数:8,代码来源:StatelessInterceptorTest.java

示例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");
}
 
开发者ID:java-course-ee,项目名称:java-course-ee,代码行数:6,代码来源:InterceptorEJB.java

示例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() {

}
 
开发者ID:wesleyegberto,项目名称:study-ocbcd,代码行数:11,代码来源:EjbAroundInvokeInterceptor.java

示例11: michNicht

import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public void michNicht() {
}
 
开发者ID:xladde,项目名称:hsw,代码行数:4,代码来源:AbfangjaegerBean.java

示例12: nonInterceptedCall

import javax.interceptor.ExcludeClassInterceptors; //导入依赖的package包/类
@ExcludeClassInterceptors
public void nonInterceptedCall(String str)
{
    doWasteSomeTime();

}
 
开发者ID:xladde,项目名称:hsw,代码行数:7,代码来源:InterceptorTestBean.java

示例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;
}
 
开发者ID:apache,项目名称:tomee,代码行数:11,代码来源:StatefulInterceptedBean.java

示例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;
}
 
开发者ID:apache,项目名称:tomee,代码行数:10,代码来源:SecondStatefulInterceptedBean.java


注:本文中的javax.interceptor.ExcludeClassInterceptors类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。