com.sun.enterprise.config.serverbeans
Interface ListenerConfig

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface ListenerConfig
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

Connects a specific listener class with specific managed objects


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 String getListenerClassName()
          Gets the value of the listenerClassName property.
 List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 String getSubscribeListenerWith()
          Gets the value of the subscribeListenerWith property.
 void setListenerClassName(String value)
          Sets the value of the listenerClassName property.
 void setSubscribeListenerWith(String value)
          Sets the value of the subscribeListenerWith property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getListenerClassName

@NotNull
String getListenerClassName()
Gets the value of the listenerClassName property. The name of a class that can act as a listener for alerts. Non-empty string containing a Java class name.

Returns:
possible object is String

setListenerClassName

void setListenerClassName(String value)
                          throws PropertyVetoException
Sets the value of the listenerClassName property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getSubscribeListenerWith

@NotNull
String getSubscribeListenerWith()
Gets the value of the subscribeListenerWith property. A list of managed object names that the listener should be subscribed to. A non-empty, comma separated list.

Returns:
possible object is String

setSubscribeListenerWith

void setSubscribeListenerWith(String value)
                              throws PropertyVetoException
Sets the value of the subscribeListenerWith property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.