|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.core.model.RSEPersistableObject
org.eclipse.rse.core.model.PropertySetContainer
org.eclipse.rse.core.model.RSEModelObject
org.eclipse.rse.core.subsystems.ServerLauncher
public abstract class ServerLauncher
Abstract class intended to be extended to provide a means for starting a remote server from the client. DStore-based connector services use this to determine whether to start a sever via daemon, REXEC, or some other mechanism. For systems that don't need to start remote servers from RSE, this is not needed.
| Field Summary | |
|---|---|
protected IConnectorService |
_connectorService
|
protected String |
_name
|
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
NO_CHILDREN |
| Constructor Summary | |
|---|---|
protected |
ServerLauncher(String name,
IConnectorService service)
Constructs a server launcher |
| Method Summary | |
|---|---|
IServerLauncherProperties |
cloneServerLauncher(IServerLauncherProperties newOne)
Clone the contents of this server launcher into the given server launcher Your sublcass must override this if you add additional attributes! |
boolean |
commit()
Commits the associated connector service to be persisted |
IConnectorService |
getConnectorService()
Returns the associated connector service |
String |
getDescription()
Returns the description of the server launcher |
String |
getLabel()
Returns the label to display in a ui for the server launcher |
String |
getName()
Returns the name of the server launcher |
IRSEPersistableContainer[] |
getPersistableChildren()
Retrieves the children of this object in the persistence containment hierarchy. |
IRSEPersistableContainer |
getPersistableParent()
Retrieve the parent of this object in the persistence containment hierarchy. |
void |
setLabel(String label)
Sets the label to use for display in a ui for the server launcher |
| Methods inherited from class org.eclipse.rse.core.model.PropertySetContainer |
|---|
addPropertySet, addPropertySets, clonePropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from class org.eclipse.rse.core.model.RSEPersistableObject |
|---|
compareStrings, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.core.subsystems.IServerLauncherProperties |
|---|
restoreFromProperties, saveToProperties |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, clonePropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Field Detail |
|---|
protected String _name
protected IConnectorService _connectorService
| Constructor Detail |
|---|
protected ServerLauncher(String name,
IConnectorService service)
name - name of the server launcherservice - the associated connector service| Method Detail |
|---|
public String getName()
getName in interface IRSEModelObjectpublic String getLabel()
getLabel in interface ILabeledObjectpublic void setLabel(String label)
setLabel in interface ILabeledObjectlabel - A display label for this object.public String getDescription()
getDescription in interface IRSEModelObjectgetDescription in class RSEModelObjectpublic IConnectorService getConnectorService()
getConnectorService in interface IServerLauncherPropertiespublic IRSEPersistableContainer getPersistableParent()
IRSEPersistableContainer
getPersistableParent in interface IRSEPersistableContainerpublic IRSEPersistableContainer[] getPersistableChildren()
IRSEPersistableContainer
getPersistableChildren in interface IRSEPersistableContainerIRSEPersistableContainer.NO_CHILDREN.public IServerLauncherProperties cloneServerLauncher(IServerLauncherProperties newOne)
cloneServerLauncher in interface IServerLauncherPropertiespublic boolean commit()
commit in interface IRSEPersistableContainer
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||