LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.notifier
Class LyNotifier

java.lang.Object
  extended by leon.info.LyTag
      extended by leon.info.LyInfo
          extended by leon.info.notifier.LyNotifier
All Implemented Interfaces:
java.lang.Cloneable, LyCommentInterface

public class LyNotifier
extends LyInfo

This class implements a Notifier description. A notifier is used to send messages from a process such as creation, modification, deletion. The notifier also receives messages and keep the cached data consistent in memory. Examples of notifiers : JMS, Bus...


Nested Class Summary
 
Nested classes/interfaces inherited from class leon.info.LyTag
LyTag.Model
 
Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyNotifier(java.lang.String id, java.lang.String javaName, java.util.Properties propertiesSet)
          Constructs a notifier with given properties table.
LyNotifier(java.lang.String id, java.lang.String javaName, java.lang.String properties)
          Constructs a notifier with a properties file.
 
Method Summary
 java.lang.String getJavaName()
          Accessor the java class name used to create the instance.
 LyLocation getLocation()
          Accessor to the location of this notifier.
 java.lang.String getProperties()
          Accessor the full path to the properties file.
 java.util.Properties getPropertiesSet()
          Accessor for the properties set.
 void setLocation(LyLocation location)
          To set the location of this notifier.
 
Methods inherited from class leon.info.LyInfo
getAlias, getApplication, getFile, getId, getInclude, getName, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString
 
Methods inherited from class leon.info.LyTag
clone, getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface leon.parser.LyCommentInterface
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyNotifier

public LyNotifier(java.lang.String id,
                  java.lang.String javaName,
                  java.lang.String properties)
Constructs a notifier with a properties file.

Parameters:
id - Identifier of the location.
url - Url of the provider. @

LyNotifier

public LyNotifier(java.lang.String id,
                  java.lang.String javaName,
                  java.util.Properties propertiesSet)
Constructs a notifier with given properties table.

Parameters:
id - Identifier of the location.
url - Url of the provider.
Method Detail

getJavaName

public java.lang.String getJavaName()
Accessor the java class name used to create the instance.

Returns:
the java class must be found in the classPath and extend leon.notifier.LyNotifier. Possible values are eu.w4.ae.notifier.jms.LyJmsNotifier (shortcut alias: jms)

getProperties

public java.lang.String getProperties()
Accessor the full path to the properties file.

Returns:
the full path to the properties file.

getPropertiesSet

public java.util.Properties getPropertiesSet()
Accessor for the properties set.

Returns:
the set of properties that contains contains parameters for connecting this notifier.

setLocation

public void setLocation(LyLocation location)
To set the location of this notifier.

Parameters:
location - the location of the notifier.

getLocation

public LyLocation getLocation()
Accessor to the location of this notifier.

Returns:
the location of the notifier.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com