public class ServiceProviderWorkingCopy extends ServiceProvider implements IServiceProviderWorkingCopy
fManager| Constructor and Description |
|---|
ServiceProviderWorkingCopy(IServiceProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
IServiceProvider |
getOriginal()
Get the service provider used to create this working copy.
|
boolean |
isConfigured()
Test if this service provider has been configured.
|
boolean |
isDirty()
Check if any properties have been modified.
|
void |
putString(java.lang.String key,
java.lang.String value)
Sets the value of the given key to the given string
|
void |
save()
Saves the modified properties.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Add the properties in the supplied map to the properties
of the service provider.
|
copy, equals, getBoolean, getConfigurationString, getDescriptor, getId, getInt, getName, getPriority, getProperties, getServiceId, getString, hashCode, internalSetProperties, keySet, putBoolean, putInt, restoreState, saveState, setDescriptorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopy, getBoolean, getConfigurationString, getDescriptor, getInt, getProperties, getString, keySet, putBoolean, putInt, setDescriptorgetId, getName, getPriority, getServiceIdpublic ServiceProviderWorkingCopy(IServiceProvider provider)
public IServiceProvider getOriginal()
IServiceProviderWorkingCopygetOriginal in interface IServiceProviderWorkingCopypublic boolean isConfigured()
IServiceProviderisConfigured in interface IServiceProviderpublic boolean isDirty()
IServiceProviderWorkingCopyisDirty in interface IServiceProviderWorkingCopypublic void putString(java.lang.String key,
java.lang.String value)
IServiceProviderputString in interface IServiceProviderputString in class ServiceProviderkey - the keyvalue - the valuepublic void save()
IServiceProviderWorkingCopysave in interface IServiceProviderWorkingCopypublic void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
IServiceProvidersetProperties in interface IServiceProvidersetProperties in class ServiceProviderproperties - map containing the properties to be added.Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.