public final class ServiceDesc extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
(package private) String |
args
starting arguments, may be null
|
(package private) boolean |
initialized |
(package private) boolean |
running |
(package private) String |
scname
service class name
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ServiceDesc(String scname,
String args)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getArguments()
Gets the starting arguments for service.
|
String |
getClassName()
Gets the class name for service.
|
boolean |
isInitialized()
Tests if this
Service is initialized. |
boolean |
isRunning()
Tests if this
Service is running. |
private void |
readObject(ObjectInputStream in) |
String |
toString()
Provides a string image for this object.
|
private void |
writeObject(ObjectOutputStream out) |
private static final long serialVersionUID
transient String scname
transient String args
transient boolean initialized
transient boolean running
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ClassNotFoundException
IOException
public String getClassName()
public String getArguments()
public boolean isInitialized()
Service
is initialized.Service
is initialized.public boolean isRunning()
Service
is running.Service
is running.Copyright © 2015 ScalAgent D.T.. All Rights Reserved.