org.jboss.aop.junit
Class AOPTestDelegate

java.lang.Object
  extended by org.jboss.test.AbstractTestDelegate
      extended by org.jboss.aop.junit.AOPTestDelegate

public class AOPTestDelegate
extends org.jboss.test.AbstractTestDelegate

AOPTestDelegate.

Version:
$Revision: 71280 $
Author:
Adrian Brock

Field Summary
 
Fields inherited from class org.jboss.test.AbstractTestDelegate
clazz, enableSecurity, log, logging, policy, securityPolicyName
 
Constructor Summary
AOPTestDelegate(Class<?> clazz)
          Create a new AOPTestDelegate.
 
Method Summary
protected  void deploy()
          Deploy the aop config
protected  void deploy(URL url)
          Deploy the aop config
 void setUp()
           
 void tearDown()
           
protected  void undeploy()
           
protected  void undeploy(URL url)
          Undeploy the aop config
 
Methods inherited from class org.jboss.test.AbstractTestDelegate
enableTrace, getDelegate, getLog, log, setUpLogging, setUpSecurity, tearDownLogging, tearDownSecurity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AOPTestDelegate

public AOPTestDelegate(Class<?> clazz)
                throws Exception
Create a new AOPTestDelegate.

Parameters:
clazz - the test class
Throws:
Exception - for any error
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class org.jboss.test.AbstractTestDelegate
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class org.jboss.test.AbstractTestDelegate
Throws:
Exception

deploy

protected void deploy()
               throws Exception
Deploy the aop config

Throws:
Exception - for any error

undeploy

protected void undeploy()

deploy

protected void deploy(URL url)
               throws Exception
Deploy the aop config

Parameters:
url - the url
Throws:
Exception - for any error

undeploy

protected void undeploy(URL url)
Undeploy the aop config

Parameters:
url - the url


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.