org.jboss.osgi.testing
Interface OSGiRemoteRuntime

All Superinterfaces:
OSGiRuntime

public interface OSGiRemoteRuntime
extends OSGiRuntime

A remote extension to the OSGiRuntime

Since:
09-Nov-2010
Author:
Thomas.Diesler@jboss.org

Method Summary
 String deploy(org.jboss.shrinkwrap.api.spec.JavaArchive archive)
          Deploys the given archive
 String deploy(String location)
          Deploys an archive from the given location string
 void undeploy(String uniqueName)
          Undeploys the named unique deployment
 
Methods inherited from interface org.jboss.osgi.testing.OSGiRuntime
addCapability, getBundle, getBundle, getBundles, getBundleStateMBean, getFrameworkMBean, getMBeanProxy, getMBeanServer, getPackageStateMBean, getServerHost, getServiceReference, getServiceReference, getServiceReferences, getServiceStateMBean, installBundle, installBundle, installBundle, isRemoteRuntime, refreshPackages, removeCapability, shutdown
 

Method Detail

deploy

String deploy(String location)
              throws Exception
Deploys an archive from the given location string

Returns:
The unique runtime name for this deployment
Throws:
Exception

deploy

String deploy(org.jboss.shrinkwrap.api.spec.JavaArchive archive)
              throws Exception
Deploys the given archive

Returns:
The unique runtime name for this deployment
Throws:
Exception

undeploy

void undeploy(String uniqueName)
              throws Exception
Undeploys the named unique deployment

Throws:
Exception


Copyright © 2011. All Rights Reserved.