FileDocCategorySizeDatePackage
MessageListener.javaAPI DocGlassfish v2 API4766Fri May 04 22:31:22 BST 2007None

MessageListener

public class MessageListener extends Descriptor
connector1.5
author
Sheetal Vartak

Fields Summary
private boolean
isDirty
private String
msgListenerType
private String
activationSpecClass
private Set
configProperties
Constructors Summary
public MessageListener()


    //default constructor
      
	this.configProperties = new OrderedSet();
    
Methods Summary
public voidaddConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty configProperty)
add a configProperty to the set

	this.configProperties.add(configProperty);
        this.setDirty();
        this.changed();
    
public voidchanged()

	super.changed();
    
voiddoneOpening()

	this.isDirty = false;
	this.changed();
    
voiddoneSaving()

	this.isDirty = false;
	this.changed();
    
public java.lang.StringgetActivationSpecClass()

	return activationSpecClass;
    
public java.util.SetgetConfigProperties()
Set of EnvironmentProperty

        return configProperties;
    
public java.lang.StringgetMessageListenerName()

        throw new UnsupportedOperationException();
    
public java.lang.StringgetMessageListenerType()

	return msgListenerType;
    
public booleanisDirty()
A flag to indicate that my data has changed since the last save.

	return this.isDirty;
    
public voidremoveConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty configProperty)
remove a configProperty from the set

	this.configProperties.remove(configProperty);
        this.setDirty();
        this.changed();
    
public voidsetActivationSpecClass(java.lang.String activationSpecClass)

	this.activationSpecClass = activationSpecClass;
    
private voidsetDirty()

        this.isDirty = true;
    
public voidsetMessageListenerName(java.lang.String msgListenerName)

        throw new UnsupportedOperationException();
    
public voidsetMessageListenerType(java.lang.String msgListenerType)

	this.msgListenerType = msgListenerType;
    
public voidsetName(java.lang.String name)
override 'setName' to set 'dirty' flag

	if (!this.getName().equals(name)) {
	    this.setDirty();
	    super.setName(name);
	}