com.bea.wli.sb.util
Class EnvValueTypes

java.lang.Object
  extended by com.bea.wli.sb.util.EnvValueTypes

public class EnvValueTypes
extends Object

This class contains environment value types that are provided by ALSB


Field Summary
static String ALERT_DEST_EMAIL_LIST
          List of Email alert destination entries.
static String ALERT_DEST_JMS_LIST
          JMS alert destination entries list.
static String ALERT_EMAIL_DESTINATION_URI
          Represents uri in an email alert destination.
static String ALERT_JMS_DESTINATION_URI
          Represents an uri in a JMS alert destination.
static String ALERT_SNMP_TRAP
          SNMP trap for alerts.
static String ALERT_TO_REPORTING_DATA
          Alert to reporting data set.
static String EMAIL_ARCHIVE_DIR
          Archive directory for email proxy service.
static String EMAIL_DOWNLOAD_DIR
          Download directory for email proxy service.
static String EMAIL_ERROR_DIR
          Error directory for email proxy service.
static Set<String> ENV_VALUE_TYPES
           
static String FILE_ARCHIVE_DIR
          Archove directory for file proxy service.
static String FILE_ERROR_DIR
          Error directory for file proxy service.
static String FILE_STAGE_DIR
          Stage directory for file proxy service.
static String FTP_ARCHIVE_DIR
          Archive directory for ftp proxy service.
static String FTP_DOWNLOAD_DIR
          Download directory for ftp proxy service.
static String FTP_ERROR_DIR
          Error directory for ftp proxy service.
static String IMAP_MOVE_FOLDER_ENV_VALUE_TYPE
          Environment value type for imap folder.
static String JMS_CONNECTION_FACTORY
          Response queue connection factory of a JMS proxy/business service with response correlation pattern as 'Message Id'.
static String JMS_DESTINATION_ENTRY
          Represents destination entry in the table of managed server vs destinaion of a jms business service with response correlation pattern as 'Message Id'.
static String JMS_MANAGED_SERVER_ENTRY
          Represents managed server entry in the table of managed server vs destinaion of a jms business service with response correlation pattern as 'Message Id'.
static String JMS_MANAGED_SERVER_VS_DESTINATION
          Table of Managed server names vs queues for MessageID correlation pattern in JMS Business Service.
static String JMS_RESPONSE_URI
          It is the URI of the response queue for JMS proxy/business services using response correlation pattern of 'JMSCorrelation ID'.
static String JNDI_PROVIDER_URL
          Environment value type for JNDI provider URLs.
static String MQ_CONN_CHANNEL_NAME
          Channel name for MQ connection resource.
static String MQ_CONN_HOST
          Host for MQ connection resource.
static String MQ_CONN_POOL_SIZE
          Connection pool size for MQ Queue Manager.
static String MQ_CONN_PORT
          Port for MQ connection resource.
static String MQ_CONN_Q_MANAGER_NAME
          Queue Manager name for MQ connection resource.
static String MQ_CONN_TIMEOUT
          Connection timeout for MQ Queue Manager.
static String MQ_RESPONSE_URI
          Response URI for MQ proxy/business services.
static String POLLER_MANAGED_SERVER
          Managed server for polling incase of cluster.
static String SECURE_JMS_CONNECTION
          This is a boolean property.
static String SERVICE_RETRY_COUNT
          Retry Count used in business services.
static String SERVICE_RETRY_INTERVAL
          Retry Iteration Interval used in business services.
static String SERVICE_URI
          URI of the proxy/business service.
static String SERVICE_URI_TABLE
          Table of Business Service URI vs their weights.
static String SERVICE_URI_WEIGHT
          Weight of the URI for business service.
static String SFTP_ARCHIVE_DIR
          Archive directory for sftp proxy service.
static String SFTP_DOWNLOAD_DIR
          Download directory for sftp proxy service.
static String SFTP_ERROR_DIR
          Error directory for sftp proxy service.
static String SMTP_SERVER_URL
          Environment value type for SMTP Server URLs.
static String UDDI_AUTO_IMPORT
          Auto synchronize property of an imported business service from UDDI registry.
static String UDDI_AUTO_PUBLISH
          Auto publish property of proxy service.
static String UDDI_INQUIRY_URL
          Inquiry URL for UDDI registry.
static String UDDI_PUBLISHING_URL
          Publishing URL for UDDI registry.
static String UDDI_SECURITY_URL
          Security URL for UDDI registry.
static String UDDI_SUBSCRIPTION_URL
          Subscription URL for UDDI registry.
static String WORK_MANAGER
          WorkManager used in proxy and business services.
static String WS_ERROR_QUEUE_URI
           
 
Constructor Summary
EnvValueTypes()
           
 
Method Summary
static boolean booleanValue(Object obj)
           
static int getIntValue(String value)
           
static short getShortValue(String value)
           
static boolean hasSameLocation(String location1, String location2)
          returns true if both od the passed env-values have same location.
static int integerValue(Object obj)
           
static void main(String[] args)
           
static short shortValue(Object obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAP_MOVE_FOLDER_ENV_VALUE_TYPE

public static final String IMAP_MOVE_FOLDER_ENV_VALUE_TYPE
Environment value type for imap folder. It is used by email transport based services. Location value is email-imap-folder in 2.5, however it is undefined in 2.6. Java type of this env value is String.

Since:
2.5
See Also:
Constant Field Values

JNDI_PROVIDER_URL

public static final String JNDI_PROVIDER_URL
Environment value type for JNDI provider URLs. Location value is JNDI Provider URL in 2.5, however it is undefined in 2.6. Java type of this env value is String. It is used by JNDI provider entry.

Since:
2.5
See Also:
Constant Field Values

SMTP_SERVER_URL

public static final String SMTP_SERVER_URL
Environment value type for SMTP Server URLs. Location value is SMTP Server URL in 2.5, however it is undefined in 2.6. Java type of this env value is String. It is used by SMTP resources.

Since:
2.5
See Also:
Constant Field Values

SERVICE_URI

public static final String SERVICE_URI
URI of the proxy/business service. Location is undefined for proxy services and 0, 1, 2 etc are used as index for business services. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

JMS_RESPONSE_URI

public static final String JMS_RESPONSE_URI
It is the URI of the response queue for JMS proxy/business services using response correlation pattern of 'JMSCorrelation ID'. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

SECURE_JMS_CONNECTION

public static final String SECURE_JMS_CONNECTION
This is a boolean property. If true, ALSB will connect to the JMS server and JNDI tree over SSL (t3s), otherwise connections are over a clear-text (t3) channel. Location values are undefined and should be null.

Since:
3.0
See Also:
Constant Field Values

POLLER_MANAGED_SERVER

public static final String POLLER_MANAGED_SERVER
Managed server for polling incase of cluster. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

EMAIL_ARCHIVE_DIR

public static final String EMAIL_ARCHIVE_DIR
Archive directory for email proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

EMAIL_DOWNLOAD_DIR

public static final String EMAIL_DOWNLOAD_DIR
Download directory for email proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

EMAIL_ERROR_DIR

public static final String EMAIL_ERROR_DIR
Error directory for email proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

FILE_ARCHIVE_DIR

public static final String FILE_ARCHIVE_DIR
Archove directory for file proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

FILE_STAGE_DIR

public static final String FILE_STAGE_DIR
Stage directory for file proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

FILE_ERROR_DIR

public static final String FILE_ERROR_DIR
Error directory for file proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

FTP_ARCHIVE_DIR

public static final String FTP_ARCHIVE_DIR
Archive directory for ftp proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

FTP_DOWNLOAD_DIR

public static final String FTP_DOWNLOAD_DIR
Download directory for ftp proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

FTP_ERROR_DIR

public static final String FTP_ERROR_DIR
Error directory for ftp proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

UDDI_INQUIRY_URL

public static final String UDDI_INQUIRY_URL
Inquiry URL for UDDI registry. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

UDDI_PUBLISHING_URL

public static final String UDDI_PUBLISHING_URL
Publishing URL for UDDI registry. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

UDDI_SUBSCRIPTION_URL

public static final String UDDI_SUBSCRIPTION_URL
Subscription URL for UDDI registry. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

UDDI_SECURITY_URL

public static final String UDDI_SECURITY_URL
Security URL for UDDI registry. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

SERVICE_URI_WEIGHT

public static final String SERVICE_URI_WEIGHT
Weight of the URI for business service. Location values represent indices of weights in the SERVICE_URI_TABLE. Java type of this env value is Integer.

Since:
2.6
See Also:
Constant Field Values

SERVICE_URI_TABLE

public static final String SERVICE_URI_TABLE
Table of Business Service URI vs their weights. Location values are undefined. Java type of this env value is com.bea.wli.sb.transports.URITableType. Schema element would be

<xs:schema targetNamespace="http://www.bea.com/wli/sb/transports" xmlns="http://www.bea.com/wli/sb/transports" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="URITable" type="URITableType"/> <xs:element name="URITableElement" type="URITableElementType"/> <xs:complexType name="URITableType"> <xs:sequence> <xs:element name="tableElement" type="URITableElementType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="URITableElementType"> <xs:sequence> <xs:element name="URI" type="xs:anyURI" minOccurs="1" maxOccurs="1 "/> <xs:element name="weight" type="xs:int" minOccurs="1" maxOccurs="1 "/> </xs:sequence> </xs:complexType> </xs:schmea>

Since:
2.6
See Also:
Constant Field Values

UDDI_AUTO_PUBLISH

public static final String UDDI_AUTO_PUBLISH
Auto publish property of proxy service. Location values are undefined. Java type of this env value is Boolean.

Since:
2.6
See Also:
Constant Field Values

UDDI_AUTO_IMPORT

public static final String UDDI_AUTO_IMPORT
Auto synchronize property of an imported business service from UDDI registry. This property is per registry. Location values are undefined. Java type of this env value is Boolean.

Since:
2.6
See Also:
Constant Field Values

ALERT_DEST_EMAIL_LIST

public static final String ALERT_DEST_EMAIL_LIST
List of Email alert destination entries. Location values are undefined. Java type of this env value is com.bea.wli.monitoring.alert.action.email.EmailDestinationListType. Schema is

<xs:schema targetNamespace="http://www.bea.com/wli/monitoring/alert/action/email" xmlns:email="http://www.bea.com/wli/monitoring/alert/action/email" xmlns:configRef="http://www.bea.com/wli/config/reference" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="EmailDestinationList" type="email:EmailDestinationListType"/> <xs:complexType name="EmailDestinationListType" xmlns="http://www.bea.com/wli/monitoring/alert/action/email"> <xs:sequence> <xs:element name="email-destination-entry" type="email:EmailDestinationType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:element name="EmailDestination" type="email:EmailDestinationType"/> <xs:complexType name="EmailDestinationType" xmlns="http://www.bea.com/wli/monitoring/alert/action/email"> <xs:sequence> <!-- mail recipients separated by comma --> <xs:element name="mail-recipients" type="xs:anyURI" minOccurs="1" maxOccurs="1"/> <xs:choice> <!-- SMTP resource --> <xs:element name="smtp-resource" type="configRef:SMTPServerRef" minOccurs="0"/> <!-- JNDI name of the configured Mail Sessions in the server --> <xs:element name="mail-session-jndiname" type="xs:string" minOccurs="0"/> </xs:choice> <!-- The originating email address --> <xs:element name="from-address" type="xs:string" minOccurs="0"/> <!-- The display name for the originating e-mail address --> <xs:element name="from-name" type="xs:string" minOccurs="0"/> <!-- The email address to reply to --> <xs:element name="reply-to-address" type="xs:string" minOccurs="0"/> <!-- The display name for the reply to address --> <xs:element name="reply-to-name" type="xs:string" minOccurs="0"/> <!-- Connection timeout in milli seconds --> <xs:element name="connection-timeout" type="xs:int" minOccurs="0" default="0"/> <!-- character set encoding on the request --> <xs:element name="request-encoding" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:schema>

Since:
2.6
See Also:
Constant Field Values

ALERT_EMAIL_DESTINATION_URI

public static final String ALERT_EMAIL_DESTINATION_URI
Represents uri in an email alert destination. Location values are indices in the ALERT_DEST_EMAIL_LIST list and it points to the respective email alert destination entry in the list.

See Also:
Constant Field Values

ALERT_DEST_JMS_LIST

public static final String ALERT_DEST_JMS_LIST
JMS alert destination entries list. Location values are undefined. Java type of this env value is com.bea.wli.monitoring.alert.action.jms.JMSDestinationListType. Schema is located at \public\JmsAlertDestination.xsd Schema is

<xs:schema targetNamespace="http://www.bea.com/wli/monitoring/alert/action/jms" xmlns:jms="http://www.bea.com/wli/monitoring/alert/action/jms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="JMSDestinationList" type="jms:JMSDestinationListType"/> <xs:complexType name="JMSDestinationListType" xmlns="http://www.bea.com/wli/monitoring/alert/action/jms"> <xs:sequence> <xs:element name="jms-destination-entry" type="jms:JMSDestinationType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:element name="JMSDestination" type="jms:JMSDestinationType"/> <xs:complexType name="JMSDestinationType" xmlns="http://www.bea.com/wli/monitoring/alert/action/jms"> <xs:sequence> <xs:element name="destination-uri" type="xs:anyURI" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:documentation> uri of the topic/queue. </xs:documentation> </xs:annotation> </xs:element> <xs:element name="is-queue" type="xs:boolean"> <xs:annotation> <xs:documentation> whether the endpoint destination is a queue or a topic. </xs:documentation> </xs:annotation> </xs:element> <xs:element name="message-type" type="jms:JmsMessageTypeEnum"> <xs:annotation> <xs:documentation> type of outbound message, which can be either Text or Bytes. </xs:documentation> </xs:annotation> </xs:element> <xs:element name="request-encoding" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> character set encoding on the request </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:simpleType name="JmsMessageTypeEnum" xmlns="http://www.bea.com/wli/monitoring/alert/action/jms"> <xs:restriction base="xs:string"> <xs:enumeration value="Text"/> <xs:enumeration value="Bytes"/> </xs:restriction> </xs:simpleType> </xs:schema>

Since:
2.6
See Also:
Constant Field Values

ALERT_JMS_DESTINATION_URI

public static final String ALERT_JMS_DESTINATION_URI
Represents an uri in a JMS alert destination. Location values are indices in the ALERT_DEST_JMS_LIST list and it points to the respective JMS alert destination entry in the list.

See Also:
Constant Field Values

ALERT_SNMP_TRAP

public static final String ALERT_SNMP_TRAP
SNMP trap for alerts. Location values are undefined. Java type of this env value is Boolean.

Since:
2.6
See Also:
Constant Field Values

JMS_MANAGED_SERVER_VS_DESTINATION

public static final String JMS_MANAGED_SERVER_VS_DESTINATION
Table of Managed server names vs queues for MessageID correlation pattern in JMS Business Service. Location values are undefined. Java type of this value is com.bea.wli.sb.transports.jms.JMSManagedServerDestinaionTableType. Schema element would be

<xs:schema targetNamespace="http://www.bea.com/wli/sb/transports/jms" xmlns:jms="http://www.bea.com/wli/sb/transports/jms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="JMSManagedServerDestinaionTable" type="jms:JMSManagedServerDestinaionTableType"/> <xs:complexType name="JMSManagedServerDestinaionTableType" xmlns="http://www.bea.com/wli/sb/transports/jms"> <xs:sequence> <xs:element name="entry" type="jms:ManagedServerDestinaionEntryType" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:element name="ManagedServerDestinaionEntry" type="jms:ManagedServerDestinaionEntryType" /> <xs:complexType name="ManagedServerDestinaionEntryType" xmlns="http://www.bea.com/wli/sb/transports/jms"> <xs:sequence> <xs:element name="JMSManagedServer" type="xs:string"/> <xs:element name="JMSDestination" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:schema>

Since:
2.6
See Also:
Constant Field Values

JMS_MANAGED_SERVER_ENTRY

public static final String JMS_MANAGED_SERVER_ENTRY
Represents managed server entry in the table of managed server vs destinaion of a jms business service with response correlation pattern as 'Message Id'. It is managed server entry in JMS_MANAGED_SERVER_VS_DESTINATION table. Location values are indices in this table and it points to the entry of managed server in the table.

See Also:
Constant Field Values

JMS_DESTINATION_ENTRY

public static final String JMS_DESTINATION_ENTRY
Represents destination entry in the table of managed server vs destinaion of a jms business service with response correlation pattern as 'Message Id'. It is an entry in JMS_MANAGED_SERVER_VS_DESTINATION table. Location values are indices in this table and it points to the entry of a destination in the table.

See Also:
Constant Field Values

JMS_CONNECTION_FACTORY

public static final String JMS_CONNECTION_FACTORY
Response queue connection factory of a JMS proxy/business service with response correlation pattern as 'Message Id'. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

WORK_MANAGER

public static final String WORK_MANAGER
WorkManager used in proxy and business services. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

ALERT_TO_REPORTING_DATA

public static final String ALERT_TO_REPORTING_DATA
Alert to reporting data set. Location values are undefined. Java type of this env value is Boolean.

Since:
2.6
See Also:
Constant Field Values

SERVICE_RETRY_COUNT

public static final String SERVICE_RETRY_COUNT
Retry Count used in business services. Location values are undefined. Java type of this env value is Short.

Since:
3.0
See Also:
Constant Field Values

SERVICE_RETRY_INTERVAL

public static final String SERVICE_RETRY_INTERVAL
Retry Iteration Interval used in business services. Location values are undefined. Java type of this env value is Integer.

Since:
3.0
See Also:
Constant Field Values

SFTP_ARCHIVE_DIR

public static final String SFTP_ARCHIVE_DIR
Archive directory for sftp proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

SFTP_DOWNLOAD_DIR

public static final String SFTP_DOWNLOAD_DIR
Download directory for sftp proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

SFTP_ERROR_DIR

public static final String SFTP_ERROR_DIR
Error directory for sftp proxy service. Location values are undefined. Java type of this env value is String.

Since:
2.6
See Also:
Constant Field Values

MQ_CONN_HOST

public static final String MQ_CONN_HOST
Host for MQ connection resource. Java type of this env value is String.

Since:
3.0
See Also:
Constant Field Values

MQ_CONN_PORT

public static final String MQ_CONN_PORT
Port for MQ connection resource. Java type of this env value is Integer.

Since:
3.0
See Also:
Constant Field Values

MQ_CONN_Q_MANAGER_NAME

public static final String MQ_CONN_Q_MANAGER_NAME
Queue Manager name for MQ connection resource. Java type of this env value is String.

Since:
3.0
See Also:
Constant Field Values

MQ_CONN_CHANNEL_NAME

public static final String MQ_CONN_CHANNEL_NAME
Channel name for MQ connection resource. Java type of this env value is String.

Since:
3.0
See Also:
Constant Field Values

MQ_CONN_TIMEOUT

public static final String MQ_CONN_TIMEOUT
Connection timeout for MQ Queue Manager. Java type of this env value is Integer.

Since:
3.0
See Also:
Constant Field Values

MQ_CONN_POOL_SIZE

public static final String MQ_CONN_POOL_SIZE
Connection pool size for MQ Queue Manager. Java type of this env value is Integer.

Since:
3.0
See Also:
Constant Field Values

MQ_RESPONSE_URI

public static final String MQ_RESPONSE_URI
Response URI for MQ proxy/business services. Java type of this env value is String.

Since:
3.0
See Also:
Constant Field Values

WS_ERROR_QUEUE_URI

public static final String WS_ERROR_QUEUE_URI
See Also:
Constant Field Values

ENV_VALUE_TYPES

public static final Set<String> ENV_VALUE_TYPES
Constructor Detail

EnvValueTypes

public EnvValueTypes()
Method Detail

hasSameLocation

public static boolean hasSameLocation(String location1,
                                      String location2)
returns true if both od the passed env-values have same location.

Parameters:
location1 -
location2 -
Returns:
true if the passed env-values have same location.

booleanValue

public static boolean booleanValue(Object obj)

integerValue

public static int integerValue(Object obj)

getIntValue

public static int getIntValue(String value)

shortValue

public static short shortValue(Object obj)

getShortValue

public static short getShortValue(String value)

main

public static void main(String[] args)
                 throws IllegalAccessException
Throws:
IllegalAccessException