com.sun.enterprise.config.serverbeans
Interface Event

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

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

Defines the event associated with the configured rule. For each configured rule there exists one event associated with it.


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 getDescription()
          Gets the value of the description property.
 String getLevel()
          Gets the value of the level property.
 List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 String getRecordEvent()
          Gets the value of the recordEvent property.
 String getType()
          Gets the value of the type property.
 void setDescription(String value)
          Sets the value of the description property.
 void setLevel(String value)
          Sets the value of the level property.
 void setRecordEvent(String value)
          Sets the value of the recordEvent property.
 void setType(String value)
          Sets the value of the type 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

getType

String getType()
Gets the value of the type property. Identifies the configured event as one of the predefined event types.

Returns:
possible object is String

setType

void setType(String value)
             throws PropertyVetoException
Sets the value of the type property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getRecordEvent

String getRecordEvent()
Gets the value of the recordEvent property. Specifies whether the occurance of the event is to be logged or not. By default this would be true. If no action is specified, the event would be recorded.

Returns:
possible object is String

setRecordEvent

void setRecordEvent(String value)
                    throws PropertyVetoException
Sets the value of the recordEvent property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getLevel

String getLevel()
Gets the value of the level property. Specifies at what level to record the event occurance in server log file.

Returns:
possible object is String

setLevel

void setLevel(String value)
              throws PropertyVetoException
Sets the value of the level property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getDescription

String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(String value)
                    throws PropertyVetoException
Sets the value of the description 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.