nyla.solutions.global.util.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.util;
/**
Contains numerous constant values
@author Gregory Green
*/
public interface Constants
{
/**
* List batch processing "InitBatchSize"
*/
public static final String BATCH_LIST_SIZE_PROP = "InitBatchSize";
/**
* Default batch size 10
*/
public static final int BATCH_SIZE = Config.getPropertyInteger(BATCH_LIST_SIZE_PROP,10);
/**
* JNDI Property EJBJNDIInitialContextFactory
*/
public static final String JNDI_EJB_INTIAL_ContextFactory = "EJBJNDIInitialContextFactory";
/**
* JNDI Property JMSJNDIInitialContextFactory
*/
public static final String JNDI_JMS_INTIAL_ContextFactory = "JMSJNDIInitialContextFactory";
/**
* JNDI Property JMSJNDIProviderURL
*/
public static final String JNDI_JMS_PROVIDER_URL = "JMSJNDIProviderURL";
/**
* JNDI Property JMSTopicConnectionFactory
*/
public static final String JNDI_JMS_TOPIC_CONNECTION_FACTORY = "JMSTopicConnectionFactory";
/**
* JNDI Property JMSQueueConnectionFactory
*/
public static final String JNDI_JMS_QUEUE_CONNECTION_FACTORY = "JMSQueueConnectionFactory";
/**
* JNDI Directory Property "JDBCJNDIProviderURL"
*/
public static final String JNDI_EJB_PROVIDER_URL = "EJBJNDIProviderURL";
/**
* Property "byte.buffer.size"
* @see IO
*/
public static final String BYTE_BUFFER_SIZE_PROP = "byte.buffer.size";
/**
* 1024
*/
public static final int FILE_IO_BATCH_SIZE = 1024;
//---------------------------------------------------------------------
public static final String REQUESTOR_TAG= "MSG_TAG";
public static final String PAGE = "pg";
public static final String VALIDATOR_LIST = "validator_list";
public static final String PAGE_ACTION = "pg_act";
public static final String OUT_XSL = "out_xsl";
public static final String OUT_XML = "out_xml";
//System Constants
public static final String OK = "OK";
public static final String ERROR = "ERROR";
public static final String ERROR_PAGE = "/system/message.jsp";
public static final String HOME_PAGE = "/home.jsp";
}