org.apache.sling.junit.impl
Class AnnotationsProcessor

java.lang.Object
  extended by org.apache.sling.junit.impl.AnnotationsProcessor
All Implemented Interfaces:
TestObjectProcessor

@Service
public class AnnotationsProcessor
extends java.lang.Object
implements TestObjectProcessor

Processor for annotations in test classes


Constructor Summary
AnnotationsProcessor()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctx)
           
protected  void deactivate(org.osgi.service.component.ComponentContext ctx)
           
 java.lang.Object process(java.lang.Object testObject)
          Process annotations on the test object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsProcessor

public AnnotationsProcessor()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext ctx)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext ctx)

process

public java.lang.Object process(java.lang.Object testObject)
                         throws java.lang.Exception
Process annotations on the test object

Specified by:
process in interface TestObjectProcessor
Throws:
java.lang.Exception


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.