public abstract class CommonDeployableContainer<T extends CommonContainerConfiguration> extends Object implements org.jboss.arquillian.container.spi.client.container.DeployableContainer<T>
| Constructor and Description |
|---|
CommonDeployableContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
awaitBootstrapCompleteService(String name)
Await for bootstrap service
|
void |
awaitBootstrapCompleteServices()
Await bootstrap complete services
|
protected long |
installArquillianBundle() |
abstract long |
installBundle(org.jboss.shrinkwrap.api.Archive<?> archive,
boolean start)
Install a bundle from an Archive
|
boolean |
isAutostartBundle() |
abstract void |
refresh()
Perform a "refresh packages" operation
|
void |
setup(T configuration) |
abstract void |
startBundle(String symbolicName,
String version)
Start a bundle identified by
symbolicName and version |
protected void |
uninstallArquillianBundle() |
abstract void |
uninstallBundle(long bundleId)
Uninstall a bundle identified by
bundleId |
public boolean isAutostartBundle()
public abstract long installBundle(org.jboss.shrinkwrap.api.Archive<?> archive,
boolean start)
throws Exception
archive - ArchiveException - If an error occured and therefore bundle was not installedpublic abstract void refresh()
throws Exception
Exception - If an error occuredpublic abstract void startBundle(String symbolicName, String version) throws Exception
symbolicName and versionsymbolicName - Bundle symbolic nameversion - Bundle versionException - If an error occured and therefore bundle was not startedpublic abstract void uninstallBundle(long bundleId)
throws Exception
bundleIdbundleId - Bundle idException - If an error occured and therefore bundle was not uninstalledpublic void awaitBootstrapCompleteServices()
protected abstract void awaitBootstrapCompleteService(String name)
name - IllegalStateException - If bootstrap service was not startedprotected void uninstallArquillianBundle()
throws Exception
Exceptionpublic void setup(T configuration)
setup in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<T extends CommonContainerConfiguration>Copyright © 2018 JBoss by Red Hat. All rights reserved.