|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.rmi.RmiPropertyContainer
util.rmi.AbstractRmiListener
stella.AbstractErrorHandler
public abstract class AbstractErrorHandler
An abstract implementation of an error handler. Provides a protected
contructor with a single Map object as an argument.
Provides a static createErrorHandler(java.util.Map) method to dynamically
create an error handler from a properties file. Because error handlers
will normally have to listen to remote and to local errors, this error
handler extends the generic AbstractRmiListener class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyContainer |
|---|
PropertyContainer.URLResource |
| Field Summary |
|---|
| Fields inherited from class util.rmi.AbstractRmiListener |
|---|
KEY_ALIVE, KEY_EXPORTPORT, KEY_INIT, KEY_LISTENERNAME, KEY_RETRY, KEY_RETRYSLEEP, KEY_SHUTDOWNDELAY |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR, KEY_NOINITONCREATE, KEY_RESOURCEBUNDLES |
| Fields inherited from interface util.PropertyBearing |
|---|
CONFIG, KEY_CLASS, KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Constructor Summary | |
|---|---|
protected |
AbstractErrorHandler(Map prop)
Constructs a new error handling instance with the specified properties. |
| Method Summary | |
|---|---|
static ErrorHandling |
createErrorHandler(Map prop)
Constructs a new error handling instance using the mapping of the PropertyBearing.KEY_CLASS to the class name to derive the class to instantiate. |
| Methods inherited from class util.rmi.AbstractRmiListener |
|---|
allBound, blockBinding, blockBinding, deregisterAtCaster, disconnect, exit, getIP, getListenerName, isConnected, listenerName, registerAtCaster, releaseBinding, releaseBinding, rescanned, startBinding, startBinding |
| Methods inherited from class util.rmi.RmiPropertyContainer |
|---|
containsRemoteProperty, getRemoteProperties, getRemoteProperty, setRemoteProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface stella.ErrorHandling |
|---|
doAbort, endTarget, registerLauncher, registerMonitor, registerSequencer, registerWeather, setEnabled, startTarget |
| Methods inherited from interface util.PropertyBearing |
|---|
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getLocalized, getProperties, getProperty, getResource, getResourceAsStream, getResources, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
| Methods inherited from interface stella.ErrorListener |
|---|
errorOccured |
| Methods inherited from interface stella.ClusterDepending |
|---|
registerCluster |
| Constructor Detail |
|---|
protected AbstractErrorHandler(Map prop)
PropertyBearing.KEY_CLASS is always specified when this constructer is
used.
| Method Detail |
|---|
public static final ErrorHandling createErrorHandler(Map prop)
PropertyBearing.KEY_CLASS to the class name to derive the class to instantiate.
If this property is defined, a new error handling instance with
the stated
class name is created, the supplied properties used as an argument in
the constructor. Can throw a lot of exceptions if unsuccessful.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||