public abstract class EmbeddedDeployableContainer<T extends EmbeddedContainerConfiguration> extends CommonDeployableContainer<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddedDeployableContainer.AbstractContainerLogger |
static interface |
EmbeddedDeployableContainer.ContainerLogger |
| Constructor and Description |
|---|
EmbeddedDeployableContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
awaitArquillianBundleActive(org.osgi.framework.BundleContext syscontext,
long timeout,
TimeUnit unit) |
protected void |
awaitBootstrapCompleteService(org.osgi.framework.BundleContext syscontext,
String serviceName,
long timeout,
TimeUnit unit) |
protected void |
awaitBootstrapCompleteService(String service)
Await for bootstrap service
|
protected org.osgi.framework.launch.Framework |
createFramework(T conf) |
org.jboss.arquillian.container.spi.client.protocol.metadata.ProtocolMetaData |
deploy(org.jboss.shrinkwrap.api.Archive<?> archive) |
void |
deploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor) |
protected EmbeddedContainerConfiguration |
getContainerConfiguration() |
org.jboss.arquillian.container.spi.client.protocol.ProtocolDescription |
getDefaultProtocol() |
protected org.osgi.framework.launch.Framework |
getFramework() |
protected EmbeddedDeployableContainer.ContainerLogger |
getLogger() |
protected void |
installArquillianBundle() |
protected org.osgi.framework.Bundle |
installBundle(String location,
InputStream inputStream) |
void |
setup(T configuration) |
void |
start() |
void |
startBundle(String symbolicName,
String version)
Start a bundle identified by
symbolicName and version |
protected org.osgi.framework.BundleContext |
startFramework() |
void |
stop() |
protected void |
stopFramework() |
void |
undeploy(org.jboss.shrinkwrap.api.Archive<?> archive) |
void |
undeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor) |
protected void |
uninstallBundle(org.osgi.framework.Bundle bundle) |
awaitBootstrapCompleteServices, isAutostartBundlepublic org.jboss.arquillian.container.spi.client.protocol.ProtocolDescription getDefaultProtocol()
public void setup(T configuration)
setup in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<T extends EmbeddedContainerConfiguration>setup in class CommonDeployableContainer<T extends EmbeddedContainerConfiguration>protected EmbeddedContainerConfiguration getContainerConfiguration()
protected EmbeddedDeployableContainer.ContainerLogger getLogger()
protected org.osgi.framework.launch.Framework createFramework(T conf)
protected org.osgi.framework.launch.Framework getFramework()
protected org.osgi.framework.BundleContext startFramework()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected void stopFramework()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected org.osgi.framework.Bundle installBundle(String location, InputStream inputStream) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected void uninstallBundle(org.osgi.framework.Bundle bundle)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic void startBundle(String symbolicName, String version) throws Exception
CommonDeployableContainersymbolicName and versionstartBundle in class CommonDeployableContainer<T extends EmbeddedContainerConfiguration>symbolicName - Bundle symbolic nameversion - Bundle versionException - If an error occured and therefore bundle was not startedpublic void start()
throws org.jboss.arquillian.container.spi.client.container.LifecycleException
org.jboss.arquillian.container.spi.client.container.LifecycleExceptionprotected void awaitArquillianBundleActive(org.osgi.framework.BundleContext syscontext,
long timeout,
TimeUnit unit)
throws org.jboss.arquillian.container.spi.client.container.LifecycleException
org.jboss.arquillian.container.spi.client.container.LifecycleExceptionprotected void awaitBootstrapCompleteService(String service)
CommonDeployableContainerawaitBootstrapCompleteService in class CommonDeployableContainer<T extends EmbeddedContainerConfiguration>protected void awaitBootstrapCompleteService(org.osgi.framework.BundleContext syscontext,
String serviceName,
long timeout,
TimeUnit unit)
protected void installArquillianBundle()
throws org.jboss.arquillian.container.spi.client.container.LifecycleException
org.jboss.arquillian.container.spi.client.container.LifecycleExceptionpublic void stop()
throws org.jboss.arquillian.container.spi.client.container.LifecycleException
org.jboss.arquillian.container.spi.client.container.LifecycleExceptionpublic org.jboss.arquillian.container.spi.client.protocol.metadata.ProtocolMetaData deploy(org.jboss.shrinkwrap.api.Archive<?> archive)
throws org.jboss.arquillian.container.spi.client.container.DeploymentException
org.jboss.arquillian.container.spi.client.container.DeploymentExceptionpublic void undeploy(org.jboss.shrinkwrap.api.Archive<?> archive)
throws org.jboss.arquillian.container.spi.client.container.DeploymentException
org.jboss.arquillian.container.spi.client.container.DeploymentExceptionpublic void deploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
throws org.jboss.arquillian.container.spi.client.container.DeploymentException
org.jboss.arquillian.container.spi.client.container.DeploymentExceptionpublic void undeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
throws org.jboss.arquillian.container.spi.client.container.DeploymentException
org.jboss.arquillian.container.spi.client.container.DeploymentExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.