jsr.daemon
Interface DaemonConfig
- All Known Implementing Classes:
- GenericDaemon
- public interface DaemonConfig
interface for supplying configuration attributes of a daemon
Method Summary |
java.lang.Object |
getAttribute(java.lang.String name)
method for accessing a configuration attribute
attribute values are filled in via a daemon context |
java.util.Enumeration |
getAttributeNames()
method for listing attribute names of the configuration |
java.lang.String |
getDaemonName()
method for accessing the name of a daemon
a name is set via a daemon context |
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- method for accessing a configuration attribute
attribute values are filled in via a daemon context
- Parameters:
name
- the name of the attribute to be retrieved- Returns:
- value of the attribute
getAttributeNames
public java.util.Enumeration getAttributeNames()
- method for listing attribute names of the configuration
- Returns:
- enumeration of the attribute names available
getDaemonName
public java.lang.String getDaemonName()
- method for accessing the name of a daemon
a name is set via a daemon context
- Returns:
- name of the daemon