this.destroy = function(){  this._getJoinPoint().disconnect(); } 
this.destroy = function(){  this._getJoinPoint().disconnect(); } 
dojo.event.topic.TopicImpl = function(topicName){  // summary: a class to represent topics  this.topicName = topicName;  this.subscribe = function(/*Object*/listenerObject, /*Function or String*/listenerMethod){    // summary:    //    use dojo.event.connect() to attach the passed listener to the    //    topic represented by this object    // listenerObject:    //    if a string and listenerMethod is ommitted, this is treated as    //    the name of a function in the global namespace. If    //    listenerMethod is provided, this is the scope to find/execute    //    the function in.    // listenerMethod:    //    Optional. The function to register.    var tf = listenerMethod||listenerObject;    var to = (!listenerMethod) ? dj_global : listenerObject;    return dojo.event.kwConnect({ // dojo.event.MethodJoinPoint      srcObj:   this,      srcFunc:  "sendMessage",      adviceObj:  to,      adviceFunc: tf    });  }  this.unsubscribe = function(/*Object*/listenerObject, /*Function or String*/listenerMethod){    // summary:    //    use dojo.event.disconnect() to attach the passed listener to the    //    topic represented by this object    // listenerObject:    //    if a string and listenerMethod is ommitted, this is treated as    //    the name of a function in the global namespace. If    //    listenerMethod is provided, this is the scope to find the    //    function in.    // listenerMethod:    //    Optional. The function to unregister.    var tf = (!listenerMethod) ? listenerObject : listenerMethod;    var to = (!listenerMethod) ? null : listenerObject;    return dojo.event.kwDisconnect({ // dojo.event.MethodJoinPoint      srcObj:   this,      srcFunc:  "sendMessage",      adviceObj:  to,      adviceFunc: tf    });  }  this._getJoinPoint = function(){    return dojo.event.MethodJoinPoint.getForMethod(this, "sendMessage");  }  this.setSquelch = function(/*Boolean*/shouldSquelch){    // summary:    //    determine whether or not exceptions in the calling of a    //    listener in the chain should stop execution of the chain.    this._getJoinPoint().squelch = shouldSquelch;  }  this.destroy = function(){    // summary: disconnects all listeners from this topic    this._getJoinPoint().disconnect();  }  this.registerPublisher = function(  /*Object*/publisherObject,                    /*Function or String*/publisherMethod){    // summary:    //    registers the passed function as a publisher on this topic.    //    Each time the function is called, an event will be published on    //    this topic.    // publisherObject:    //    if a string and listenerMethod is ommitted, this is treated as    //    the name of a function in the global namespace. If    //    listenerMethod is provided, this is the scope to find the    //    function in.    // publisherMethod:    //    Optional. The function to register.    dojo.event.connect(publisherObject, publisherMethod, this, "sendMessage");  }  this.sendMessage = function(message){    // summary: a stub to be called when a message is sent to the topic.    // The message has been propagated  }}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js