Class AbstractServerInterceptorsSetupTask.SetupTask
java.lang.Object
org.jboss.as.test.shared.integration.ejb.interceptor.serverside.AbstractServerInterceptorsSetupTask.SetupTask
- All Implemented Interfaces:
org.jboss.as.arquillian.api.ServerSetupTask,InterceptorsSetupTask
- Enclosing class:
- AbstractServerInterceptorsSetupTask
public static class AbstractServerInterceptorsSetupTask.SetupTask
extends Object
implements org.jboss.as.arquillian.api.ServerSetupTask, InterceptorsSetupTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyServerInterceptors(List<InterceptorModule> interceptorModules, org.jboss.as.arquillian.container.ManagementClient managementClient) /subsystem=ejb3:write-attribute(name=server-interceptors,value=[{module=moduleName,class=className}])voidpackModule(InterceptorModule module) Pack a sample interceptor to module and place to $JBOSS_HOME/modules directoryvoidrevertServerInterceptors(org.jboss.as.arquillian.container.ManagementClient managementClient) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.arquillian.api.ServerSetupTask
executeOperation, executeOperation, executeOperation, executeOperation
-
Constructor Details
-
SetupTask
public SetupTask()
-
-
Method Details
-
getModules
- Specified by:
getModulesin interfaceInterceptorsSetupTask
-
modifyServerInterceptors
public void modifyServerInterceptors(List<InterceptorModule> interceptorModules, org.jboss.as.arquillian.container.ManagementClient managementClient) throws Exception /subsystem=ejb3:write-attribute(name=server-interceptors,value=[{module=moduleName,class=className}])- Specified by:
modifyServerInterceptorsin interfaceInterceptorsSetupTask- Throws:
Exception
-
revertServerInterceptors
public void revertServerInterceptors(org.jboss.as.arquillian.container.ManagementClient managementClient) throws Exception - Specified by:
revertServerInterceptorsin interfaceInterceptorsSetupTask- Throws:
Exception
-
setup
public void setup(org.jboss.as.arquillian.container.ManagementClient managementClient, String s) throws Exception - Specified by:
setupin interfaceorg.jboss.as.arquillian.api.ServerSetupTask- Throws:
Exception
-
tearDown
public void tearDown(org.jboss.as.arquillian.container.ManagementClient managementClient, String s) throws Exception - Specified by:
tearDownin interfaceorg.jboss.as.arquillian.api.ServerSetupTask- Throws:
Exception
-