boolean autocleanup = getBooleanProperty(sAutocleanup, AUTOCLEANUP);
if (autocleanup) {
logger.log(Logger.CONFIG,"Autocleanup activated");
// Finally add the behaviour that listens for AMS notifications
// about dead agents.
amsSubscriber = new AMSSubscriber() {
protected void installHandlers(java.util.Map handlersTable) {
handlersTable.put(IntrospectionVocabulary.DEADAGENT, new EventHandler() {
public void handle(Event ev) {
DeadAgent da = (DeadAgent)ev;
AID id = da.getAgent();