public class DeploymentConfigurationBase<Self extends DeploymentConfigurationBase> extends DeploymentConfiguration implements PersistentStateComponent<Self>
Constructor and Description |
---|
DeploymentConfigurationBase() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration(RemoteServer<?> server,
DeploymentSource deploymentSource) |
PersistentStateComponent<?> |
getSerializer() |
Self |
getState() |
void |
loadState(Self state)
This method is called when new component state is loaded.
|
checkConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public PersistentStateComponent<?> getSerializer()
getSerializer
in class DeploymentConfiguration
public Self getState()
getState
in interface PersistentStateComponent<Self extends DeploymentConfigurationBase>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(Self state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Self extends DeploymentConfigurationBase>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void checkConfiguration(RemoteServer<?> server, DeploymentSource deploymentSource) throws RuntimeConfigurationException
checkConfiguration
in class DeploymentConfiguration
RuntimeConfigurationException