package fr.mch.mdo.restaurant.resources; public interface IResources { // TODO Maybe we have to create a resource manager instead of using Java constants // The constants must be in a properties files String LOG4J_CONFIGURATION_FILE = "logs/log4j/log4j.properties"; String LOG_RESOURCE_BUNDLE_MESSAGES_FILE = "fr.mch.mdo.restaurant.resources.i18n.ILoggerMessages"; String EXCEPTION_RESOURCE_BUNDLE_MESSAGES_FILE = "fr.mch.mdo.restaurant.resources.i18n.ILoggerMessages"; /**START DATABASE */ String MDO_DATABASE_STRUCTURE = "montagnesdorStructure.sql"; /** * START HIBERNATE */ String HIBERNATE_CONFIGURATION_FILE = "dao/hibernate/hibernate.cfg.xml"; /** * END HIBERNATE */ /** * START JAAS */ String JMS_SERVER_HORNETQ_CONFIGURATION_FILE = "fr/mch/mdo/restaurant/resources/jms/hornetq/hornetq-configuration.xml"; // The file hornetq-jms.xml MUST be in the root path because of FileDeploymentManager HornetQ class that always check the existence of this file from "hornetq-jms.xml" // If we want to change the location of the file hornetq-jms.xml to /path/to/another/folder/hornetq-jms.xml then we have to add the path /path/to/another/folder/ to the classpath. // String JMS_SERVER_HORNETQ_JMS_FILE = "fr/mch/mdo/restaurant/resources/jms/hornetq/hornetq-jms.xml"; String JMS_SERVER_HORNETQ_JMS_FILE = "hornetq-jms.xml"; String JMS_HORNETQ_USER_FILE = "jms/hornetq/hornetq-users.properties"; /** * END JAAS */ /** * START JAAS */ String JAAS_LOGIN_CONFIGURATION_FILE = "jaas/montagnesdorjaas.login"; String JAAS_POLICY_FILE = "jaas/montagnesdorjaas.policy"; /** * END JAAS */ }