public interface TestContainerFactory
Modifier and Type | Method and Description |
---|---|
TestContainer |
create(URI baseUri,
AppDescriptor ad)
Create a test container.
|
<T extends AppDescriptor> |
supports()
Get the application descriptor class supported by this test container
factory.
|
<T extends AppDescriptor> Class<T> supports()
T
- the type of application descriptor.TestContainer create(URI baseUri, AppDescriptor ad) throws IllegalArgumentException
baseUri
- the base URI of the application.ad
- the application descriptor.IllegalArgumentException
- if ad
is not an
appropriate instance of an application descriptor supported
by this test container factory.Copyright © 2013 Oracle Corporation. All rights reserved.