public interface CollectingAgency
CollectingAgency
is a collecting agency that collects a
specified class's runtime information.Modifier and Type | Method and Description |
---|---|
void |
collects(java.util.Hashtable data)
The source class uses this method to send runtime information to the
collecting agency.
|
void |
destroy()
Offers an opportunity to release the collecting agency's resource.
|
void |
init(java.util.Properties prop)
Offers an opportunity to initialize the collecting agency.
|
boolean |
isAlive()
Tests whether this CollectingAgency is alive.
|
void init(java.util.Properties prop)
In general, the initialization parameters must include ENV_INSTALLS_HOME
and ENV_REGISTRY_PORT
.
prop
- some initialization parameters.void destroy()
boolean isAlive()
void collects(java.util.Hashtable data)
Those runtime information are collected in a Hashtable
.
data
- Hashtable