|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.testcontroller.config.osgi.OSGiTestConfiguration
public class OSGiTestConfiguration
TestLocator to find test agents from the set of optional services currently acquired by this bundle.
| Constructor Summary | |
|---|---|
OSGiTestConfiguration()
|
|
| Method Summary | |
|---|---|
void |
createFactoryConfiguration(java.lang.String factoryPid,
java.lang.String bundleLocation,
java.util.Dictionary properties)
Create factory configuration with the specified factory pid, bundle location and properties parameters. |
void |
createOrUpdateConfiguration(java.lang.String pid,
java.lang.String bundleLocation,
java.util.Dictionary properties)
Create or update configuration with the specified pid, bundle location and properties parameters. |
void |
deleteConfigurations(java.lang.String filter)
Delete configurations with the specified filter parameter. |
TestAgentService[] |
findTests(java.lang.String filter,
java.lang.String className)
Find tests with the specified filter and class name parameters and return the TestAgentService[] result. |
void |
setConfigurationAdmin(ConfigurationAdmin configurationAdmin)
the configurationAdmin to set |
void |
setNotificationService(NotificationService notificationService)
Sets the notification service value. |
void |
setServiceDetecter(IServiceDetecter serviceDetecter)
the serviceDetecter to set |
void |
updateConfigurations(java.lang.String filter,
java.util.Dictionary properties)
Update configurations with the specified filter and properties parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiTestConfiguration()
| Method Detail |
|---|
public void createFactoryConfiguration(java.lang.String factoryPid,
java.lang.String bundleLocation,
java.util.Dictionary properties)
throws java.io.IOException
createFactoryConfiguration in interface TestConfigurationServicefactoryPid - The factory pid (String) parameter.bundleLocation - The bundle location (String) parameter.properties - The properties (Dictionary) parameter.
java.io.IOException
public void createOrUpdateConfiguration(java.lang.String pid,
java.lang.String bundleLocation,
java.util.Dictionary properties)
throws java.io.IOException
createOrUpdateConfiguration in interface TestConfigurationServicepid - The pid (String) parameter.bundleLocation - The bundle location (String) parameter.properties - The properties (Dictionary) parameter.
java.io.IOException
public void deleteConfigurations(java.lang.String filter)
throws java.io.IOException,
InvalidSyntaxException
deleteConfigurations in interface TestConfigurationServicefilter - The filter (String) parameter.
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOExceptionupdateConfigurations(String,Dictionary)
public TestAgentService[] findTests(java.lang.String filter,
java.lang.String className)
throws InvalidSyntaxException
findTests in interface TestConfigurationServicefilter - The filter (String) parameter.className - The class name (String) parameter.
TestAgentService[]) value.
InvalidSyntaxException - Invalid Syntax Exception.public void setConfigurationAdmin(ConfigurationAdmin configurationAdmin)
configurationAdmin - The configuration admin (ConfigurationAdmin) parameter.public void setNotificationService(NotificationService notificationService)
setNotificationService in interface TestConfigurationServicenotificationService - The notification service (NotificationService) parameter.public void setServiceDetecter(IServiceDetecter serviceDetecter)
serviceDetecter - The service detecter (IServiceDetecter) parameter.
public void updateConfigurations(java.lang.String filter,
java.util.Dictionary properties)
throws java.io.IOException,
InvalidSyntaxException
updateConfigurations in interface TestConfigurationServicefilter - The filter (String) parameter.properties - The properties (Dictionary) parameter.
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOExceptiondeleteConfigurations(String)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||