fr.dyade.aaa.agent

Class ServiceDesc

Implemented Interfaces:
Serializable

public final class ServiceDesc
extends java.lang.Object
implements Serializable

Description of a service.

Constructor Summary

ServiceDesc(String scname, String args)
Constructor.

Method Summary

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.
String
toString()
Provides a string image for this object.

Constructor Details

ServiceDesc

public ServiceDesc(String scname,
                   String args)
Constructor.

Parameters:
scname - service class name
args - starting parameters, may be null

Method Details

getArguments

public String getArguments()
Gets the starting arguments for service.

Returns:
the arguments.


getClassName

public String getClassName()
Gets the class name for service.

Returns:
the classname.


isInitialized

public boolean isInitialized()
Tests if this Service is initialized.

Returns:
true if the Service is initialized.


isRunning

public boolean isRunning()
Tests if this Service is running.

Returns:
true if the Service is running.


toString

public String toString()
Provides a string image for this object.

Returns:
printable image of this object


Copyright B) 2004 Scalagent - All rights reserved