public class DummyDeploymentConfiguration extends DeploymentConfiguration implements PersistentStateComponent<DummyDeploymentConfiguration>
Constructor and Description |
---|
DummyDeploymentConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration(RemoteServer<?> server,
DeploymentSource deploymentSource) |
PersistentStateComponent<?> |
getSerializer() |
DummyDeploymentConfiguration |
getState() |
void |
loadState(DummyDeploymentConfiguration 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 DummyDeploymentConfiguration getState()
getState
in interface PersistentStateComponent<DummyDeploymentConfiguration>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(DummyDeploymentConfiguration state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<DummyDeploymentConfiguration>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void checkConfiguration(RemoteServer<?> server, DeploymentSource deploymentSource) throws RuntimeConfigurationException
checkConfiguration
in class DeploymentConfiguration
RuntimeConfigurationException