com.genesyslab.ail
Class ApplicationInfo

java.lang.Object
  extended by com.genesyslab.ail.ApplicationInfo

public class ApplicationInfo
extends java.lang.Object

Structure that contains information from the Configuration Layer about an application.


Field Summary
 java.util.Map mAdditionalInformation
           
 java.util.Map mAnnex
          The annex of this application as specified in the Configuration Layer.
 int mApplicationDBID
          The identifier of the application in the Configuration Layer.
 java.lang.String mApplicationName
          The name of the application in the Configuration Layer.
 java.lang.String mApplicationPassword
          The password of the application in the Configuration Layer.
 java.util.Vector mApplicationTenantDBIDs
          The tenant DBIDs of this application as specified in the Configuration Layer.
 int mApplicationType
          The type of application as specified in the Configuration Layer.
 java.lang.String mApplicationVersion
          The version of the application in the Configuration Layer.
 boolean mAutoRestart
          The boolean autorestart value in the Configuration Layer.
 java.lang.String mCommmandLine
          The command used to launch this application.
 java.lang.String mCommmandLineArguments
          The command-line arguments that launch this application.
 int mCommunicationPort
          The port of the application (Communication port), -1 if it is not set in the Configuration layer.
 int mLcaPort
          The port of the LCA.
 java.util.Map mOptions
          The options of this application as specified in the Configuration Layer.
 int mShutdownTimeout
          The shutdown timeout as specified in the Configuration Layer.
 int mStartupTimeout
          The startup timeout as specified in the Configuration Layer.
 
Constructor Summary
ApplicationInfo()
           
 
Method Summary
 void addApplicationInfoListener(ApplicationInfoListener listener)
          Registers a listener for the modifications of this application in the Configuration Layer.
 void applicationInfoChanged()
          Notifies all the registered listeners that this application was modified in the Configuration Layer.
 void removeApplicationInfoListener(ApplicationInfoListener listener)
          Unregisters a listener for the modifications of this application in the Configuration Layer.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mLcaPort

public int mLcaPort
The port of the LCA.


mCommunicationPort

public int mCommunicationPort
The port of the application (Communication port), -1 if it is not set in the Configuration layer.

Since:
7.0

mApplicationDBID

public int mApplicationDBID
The identifier of the application in the Configuration Layer.


mApplicationName

public java.lang.String mApplicationName
The name of the application in the Configuration Layer.


mApplicationPassword

public java.lang.String mApplicationPassword
The password of the application in the Configuration Layer.


mApplicationType

public int mApplicationType
The type of application as specified in the Configuration Layer.


mApplicationVersion

public java.lang.String mApplicationVersion
The version of the application in the Configuration Layer.


mCommmandLine

public java.lang.String mCommmandLine
The command used to launch this application.


mCommmandLineArguments

public java.lang.String mCommmandLineArguments
The command-line arguments that launch this application.


mAutoRestart

public boolean mAutoRestart
The boolean autorestart value in the Configuration Layer.


mStartupTimeout

public int mStartupTimeout
The startup timeout as specified in the Configuration Layer.


mShutdownTimeout

public int mShutdownTimeout
The shutdown timeout as specified in the Configuration Layer.


mOptions

public java.util.Map mOptions
The options of this application as specified in the Configuration Layer.


mAnnex

public java.util.Map mAnnex
The annex of this application as specified in the Configuration Layer.


mApplicationTenantDBIDs

public java.util.Vector mApplicationTenantDBIDs
The tenant DBIDs of this application as specified in the Configuration Layer. If the application is of type CLIENT, this Vector contains the tenant DBID of the user that is passed to the AilLoader.


mAdditionalInformation

public java.util.Map mAdditionalInformation
Constructor Detail

ApplicationInfo

public ApplicationInfo()
Method Detail

addApplicationInfoListener

public void addApplicationInfoListener(ApplicationInfoListener listener)
Registers a listener for the modifications of this application in the Configuration Layer.


removeApplicationInfoListener

public void removeApplicationInfoListener(ApplicationInfoListener listener)
Unregisters a listener for the modifications of this application in the Configuration Layer.


applicationInfoChanged

public void applicationInfoChanged()
Notifies all the registered listeners that this application was modified in the Configuration Layer.


toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object