@ProviderType public final class MockContextAwareConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
registerAnnotationClasses(org.apache.sling.testing.mock.sling.context.SlingContextImpl context,
Class... classes)
Search classpath for given class names to scan for and register all classes with @Configuration annotation.
|
static void |
registerAnnotationClasses(org.apache.sling.testing.mock.sling.context.SlingContextImpl context,
String... classNames)
Search classpath for given class names to scan for and register all classes with @Configuration annotation.
|
public static void registerAnnotationClasses(org.apache.sling.testing.mock.sling.context.SlingContextImpl context,
String... classNames)
context - Sling contextclassNames - Java class namespublic static void registerAnnotationClasses(org.apache.sling.testing.mock.sling.context.SlingContextImpl context,
Class... classes)
context - Sling contextclasses - Java classesCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.