public class Importtool
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
listeners |
static java.lang.String |
version |
Constructor and Description |
---|
Importtool()
Creates an instance of the Importtool
|
Importtool(java.lang.String[] param) |
Modifier and Type | Method and Description |
---|---|
void |
addJVMServiceListener(JVMServiceListener l)
Add a service state listener.
|
void |
fireServiceEvent(int state)
Fire a service event.
|
void |
fireServiceEvent(int state,
java.lang.String message)
Fire a service event.
|
void |
fireServiceEvent(JVMServiceEvent ev)
Fire a service event.
|
JVMServiceListener[] |
getJVMServiceListener()
Get all service state listeners.
|
static void |
main(java.lang.String[] args)
Main module of this application.
|
void |
removeJVMServiceListener(JVMServiceListener l)
Remove a service state listener.
|
void |
run()
Run method for main thread.
|
public static final java.lang.String version
protected java.util.List listeners
public Importtool()
public Importtool(java.lang.String[] param)
public void run()
run
in interface java.lang.Runnable
public static void main(java.lang.String[] args)
args
- The name of the property file can be passed as optional argumentpublic void addJVMServiceListener(JVMServiceListener l)
l
- the service state listener to be added.public void removeJVMServiceListener(JVMServiceListener l)
l
- the service state listener to be removed.public JVMServiceListener[] getJVMServiceListener()
public void fireServiceEvent(int state, java.lang.String message)
- public void fireServiceEvent(int state)
- public void fireServiceEvent(JVMServiceEvent ev)
-