org.jboss.osgi.spi.junit
Class IntegrationTestHelper
java.lang.Object
org.jboss.osgi.spi.junit.OSGiTestHelper
org.jboss.osgi.spi.junit.IntegrationTestHelper
public class IntegrationTestHelper
- extends OSGiTestHelper
An integration test helper that deals with test deployment/undeployment, etc.
- Since:
- 14-Oct-2004
- Author:
- Thomas.Diesler@jboss.org
| Methods inherited from class org.jboss.osgi.spi.junit.OSGiTestHelper |
createBootstrapProvider, getBootstrapProvider, getResourceFile, getResourceURL, getTestArchiveDir, getTestArchiveFile, getTestArchiveURL, getTestResourcesDir, installBundle, setBootstrapProvider, startLogEntryTracking, stopLogEntryTracking |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegrationTestHelper
public IntegrationTestHelper(OSGiBootstrapProvider bootProvider)
startRemoteLogEntryTracking
protected void startRemoteLogEntryTracking(LogEntryCache logEntryCache)
throws java.lang.Exception
- Throws:
java.lang.Exception
stopRemoteLogEntryTracking
protected void stopRemoteLogEntryTracking()
throws java.lang.Exception
- Throws:
java.lang.Exception
deploy
public void deploy(java.lang.String archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
deploy
public void deploy(java.net.URL archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.lang.String archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.net.URL archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
isTargetJBoss50
public boolean isTargetJBoss50()
getServer
public javax.management.MBeanServerConnection getServer()
deployBundle
public RemoteBundle deployBundle(java.lang.String archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeployBundle
public void undeployBundle(java.lang.String archive)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRemoteFramework
public RemoteFramework getRemoteFramework()
throws java.lang.Exception
- Throws:
java.lang.Exception
isRemoteIntegration
public static boolean isRemoteIntegration()
getServerHost
public java.lang.String getServerHost()
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.