public class RemoteBundleContextClientImpl extends Object implements RemoteBundleContextClient
| Constructor and Description |
|---|
RemoteBundleContextClientImpl(String name,
Integer registry,
org.ops4j.pax.exam.RelativeTimeout timeout)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
call(org.ops4j.pax.exam.TestAddress address) |
void |
cleanup() |
String |
getName() |
long |
install(String location,
InputStream stream) |
void |
setBundleStartLevel(long bundleId,
int startLevel) |
void |
start() |
void |
stop() |
void |
uninstall(long bundleId) |
void |
waitForState(long bundleId,
int state,
org.ops4j.pax.exam.RelativeTimeout timeout) |
public RemoteBundleContextClientImpl(String name, Integer registry, org.ops4j.pax.exam.RelativeTimeout timeout)
name - of containerregistry - RMI registry to look attimeout - timeout for looking up the remote bundle context via RMI (cannot be null)public long install(String location, InputStream stream)
install in interface RemoteBundleContextClientpublic void cleanup()
cleanup in interface RemoteBundleContextClientpublic void setBundleStartLevel(long bundleId,
int startLevel)
setBundleStartLevel in interface RemoteBundleContextClientpublic void start()
start in interface RemoteBundleContextClientpublic void stop()
stop in interface RemoteBundleContextClientpublic void waitForState(long bundleId,
int state,
org.ops4j.pax.exam.RelativeTimeout timeout)
waitForState in interface RemoteBundleContextClientpublic void call(org.ops4j.pax.exam.TestAddress address)
call in interface RemoteBundleContextClientpublic String getName()
public void uninstall(long bundleId)
uninstall in interface RemoteBundleContextClientCopyright © 2006–2018 OPS4J - Open Participation Software for Java. All rights reserved.