org.jboss.osgi.spi.testing
Class OSGiTest

java.lang.Object
  extended by org.jboss.osgi.spi.testing.OSGiTest

public abstract class OSGiTest
extends java.lang.Object

An abstract OSGi Test. OSGiTest is a convenience wrapper for the functionality provided by OSGiTestHelper.

Since:
25-Sep-2008
Author:
Thomas.Diesler@jboss.org

Method Summary
 javax.naming.InitialContext getInitialContext()
          Delegates to OSGiTestHelper.getInitialContext()
 java.lang.Integer getJndiPort()
          Delegates to OSGiTestHelper.getJndiPort()
 OSGiRuntime getRemoteRuntime()
          Delegates to OSGiTestHelper.getRemoteRuntime()
 java.lang.String getServerHost()
          Delegates to OSGiTestHelper.getServerHost()
 void setUp()
          Writes a a debug start messge
 void tearDown()
          Writes a a debug stop messge
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Writes a a debug start messge

Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Writes a a debug stop messge

Throws:
java.lang.Exception

getRemoteRuntime

public OSGiRuntime getRemoteRuntime()
Delegates to OSGiTestHelper.getRemoteRuntime()


getInitialContext

public javax.naming.InitialContext getInitialContext()
                                              throws javax.naming.NamingException
Delegates to OSGiTestHelper.getInitialContext()

Throws:
javax.naming.NamingException

getJndiPort

public java.lang.Integer getJndiPort()
Delegates to OSGiTestHelper.getJndiPort()


getServerHost

public java.lang.String getServerHost()
Delegates to OSGiTestHelper.getServerHost()



Copyright © 2009. All Rights Reserved.