|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object snifos.communication.CommModuleInfo
This class represents informations about communication module read from server configuration file.
Constructor Summary | |
CommModuleInfo()
|
Method Summary | |
java.lang.reflect.Constructor |
getConstructor()
Returns constructor of main communication module class. |
java.util.Properties |
getProperties()
Returns Properties describing communication module configuration. |
void |
setClassName(java.lang.String className)
Sets main communication module class name. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets single property of communication module configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommModuleInfo()
Method Detail |
public void setClassName(java.lang.String className) throws java.lang.SecurityException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException
className
- Class name to set.
java.lang.SecurityException
- Thrown by the security manager to indicate
a security violation during reflection use.
java.lang.NoSuchMethodException
- Thrown when main class does not have
default constructor (without parameters).
java.lang.ClassNotFoundException
- Thrown when given class is not found in
classpath.CommModule
public void setProperty(java.lang.String name, java.lang.String value)
name
- Property name.value
- Property value.public java.util.Properties getProperties()
public java.lang.reflect.Constructor getConstructor()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |