[jboss-svn-commits] JBL Code SVN: r5388 - in labs/jbossesb/branches/refactor/product/core: common/src/org/jboss/soa/esb/common common/src/org/jboss/soa/esb/helpers common/src/org/jboss/soa/esb/parameters listeners/src/org/jboss/soa/esb/listeners processors/src/org/jboss/soa/esb/processors services/src/org/jboss/soa/esb/internal/core/objectstore services/src/org/jboss/soa/esb/services/msglistener services/tests/src/org/jboss/soa/esb/services/tests/notification services/tests/src/org/jboss/soa/esb/services/tests/objectstore
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Aug 1 17:08:46 EDT 2006
Author: arvinder
Date: 2006-08-01 17:08:27 -0400 (Tue, 01 Aug 2006)
New Revision: 5388
Added:
labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/SystemProperties.java
Removed:
labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/EsbSysProps.java
Modified:
labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/helpers/EsbEmail.java
labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/parameters/ParamsReposUtil.java
labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/AbstractPoller.java
labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/JmsQueueListener.java
labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/OldDirListener.java
labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/SqlTablePoller.java
labs/jbossesb/branches/refactor/product/core/processors/src/org/jboss/soa/esb/processors/EsbAbstractProcessor.java
labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/BobjStore.java
labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/DaoSnapTable.java
labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/services/msglistener/AbstractEsbMsgDrivenBean.java
labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/notification/NotificationFuncTest.java
labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/objectstore/ObjectStoreFuncTest.java
Log:
Rename EsbSysProps SystemProperties
Deleted: labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/EsbSysProps.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/EsbSysProps.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/EsbSysProps.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -1,119 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.soa.esb.common;
-
-import org.jboss.soa.esb.helpers.KeyValuePair;
-
-public class EsbSysProps {
- public static final String SMTP_HOST = "org.jboss.soa.esb.mail.smtp.host";
-
- public static final String SMTP_USERNAME = "org.jboss.soa.esb.mail.smtp.user";
-
- public static final String SMTP_PASSWORD = "org.jboss.soa.esb.mail.smtp.password";
-
- public static final String SMTP_PORT = "org.jboss.soa.esb.mail.smtp.port";
-
- public static final String JNDI_SERVER_TYPE = "org.jboss.soa.esb.jndi.server.type";
-
- public static final String JNDI_SERVER_URL = "org.jboss.soa.esb.jndi.server.url";
-
- public static final String PARAMS_REPOS_FACTORY_CLASS = "org.jboss.soa.esb.paramsRepository.factory.class";
-
- public static final String OBJECT_STORE_CONFIG_FILE = "org.jboss.soa.esb.objStore.configfile";
-
- public static final String ENCRYPT_FACTORY_CLASS = "jorg.jboss.soa.esb.encryption.factory.class";
-
- public static final String DEFAULT_HOST = "localhost";
-
- public static final String DEFAULT_USERNAME = "";
-
- public static final String DEFAULT_PASSWORD = "";
-
- public static final String DEFAULT_PORT = "25";
-
- public static final String DEFAULT_SERVER_TYPE = "jboss";
-
- private static KeyValuePair[] s_oaKV = new KeyValuePair[] {
- new KeyValuePair(SMTP_HOST, getSmtpHost()),
- new KeyValuePair(SMTP_USERNAME, getSmtpUsername()),
- new KeyValuePair(SMTP_PASSWORD, getSmtpPassword()),
- new KeyValuePair(SMTP_PORT, getSmtpPort()),
- new KeyValuePair(JNDI_SERVER_TYPE, getJndiServerType()),
- new KeyValuePair(JNDI_SERVER_URL, getJndiServerURL()),
- new KeyValuePair(PARAMS_REPOS_FACTORY_CLASS,
- getParamsReposFactoryClass()),
- new KeyValuePair(OBJECT_STORE_CONFIG_FILE, getObjStoreConfigFile()),
- new KeyValuePair(ENCRYPT_FACTORY_CLASS, getEncryptionFactoryClass())
-
- };
-
- public static String dump() {
- StringBuilder sb = new StringBuilder("Dump of EsbSysProps:\n");
- for (KeyValuePair oCurr : s_oaKV) {
- sb.append(oCurr.getKey()).append("=").append(oCurr.getValue()).append("\n");
- }
- return sb.append("______________________________________").toString();
- } // ________________________________
-
- public static String getSmtpHost() {
- return System.getProperty(SMTP_HOST, EsbSysProps.DEFAULT_HOST);
- }
-
- public static String getSmtpUsername() {
- return System.getProperty(SMTP_USERNAME, EsbSysProps.DEFAULT_USERNAME);
- }
-
- public static String getSmtpPassword() {
- return System.getProperty(SMTP_PASSWORD, EsbSysProps.DEFAULT_PASSWORD);
- }
-
- public static String getSmtpPort() {
- return System.getProperty(SMTP_PORT, EsbSysProps.DEFAULT_PORT);
- }
-
- public static String getJndiServerType() {
- return System.getProperty(JNDI_SERVER_TYPE,
- EsbSysProps.DEFAULT_SERVER_TYPE);
- }
-
- public static String getJndiServerURL() {
- return System.getProperty(JNDI_SERVER_URL, EsbSysProps.DEFAULT_HOST);
- }
-
- public static String getParamsReposFactoryClass() {
- return System.getProperty(PARAMS_REPOS_FACTORY_CLASS,
- org.jboss.soa.esb.parameters.DefaultReposFactory.class
- .getName());
- }
-
- public static String getObjStoreConfigFile() {
- return System.getProperty(OBJECT_STORE_CONFIG_FILE);
- }
-
- public static String getEncryptionFactoryClass() {
- return System.getProperty(ENCRYPT_FACTORY_CLASS,
- org.jboss.soa.esb.services.DefaultEncryptionFactory.class
- .getName());
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/SystemProperties.java (from rev 5384, labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/EsbSysProps.java)
===================================================================
--- labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/EsbSysProps.java 2006-08-01 18:47:29 UTC (rev 5384)
+++ labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/common/SystemProperties.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.soa.esb.common;
+
+import org.jboss.soa.esb.helpers.KeyValuePair;
+
+public class SystemProperties {
+
+ public static final String SMTP_HOST = "org.jboss.soa.esb.mail.smtp.host";
+
+ public static final String SMTP_USERNAME = "org.jboss.soa.esb.mail.smtp.user";
+
+ public static final String SMTP_PASSWORD = "org.jboss.soa.esb.mail.smtp.password";
+
+ public static final String SMTP_PORT = "org.jboss.soa.esb.mail.smtp.port";
+
+ public static final String JNDI_SERVER_TYPE = "org.jboss.soa.esb.jndi.server.type";
+
+ public static final String JNDI_SERVER_URL = "org.jboss.soa.esb.jndi.server.url";
+
+ public static final String PARAMS_REPOS_FACTORY_CLASS = "org.jboss.soa.esb.paramsRepository.factory.class";
+
+ public static final String OBJECT_STORE_CONFIG_FILE = "org.jboss.soa.esb.objStore.configfile";
+
+ public static final String ENCRYPT_FACTORY_CLASS = "jorg.jboss.soa.esb.encryption.factory.class";
+
+ public static final String DEFAULT_HOST = "localhost";
+
+ public static final String DEFAULT_USERNAME = "";
+
+ public static final String DEFAULT_PASSWORD = "";
+
+ public static final String DEFAULT_PORT = "25";
+
+ public static final String DEFAULT_SERVER_TYPE = "jboss";
+
+ private static KeyValuePair[] s_oaKV = new KeyValuePair[] {
+ new KeyValuePair(SMTP_HOST, getSmtpHost()),
+ new KeyValuePair(SMTP_USERNAME, getSmtpUsername()),
+ new KeyValuePair(SMTP_PASSWORD, getSmtpPassword()),
+ new KeyValuePair(SMTP_PORT, getSmtpPort()),
+ new KeyValuePair(JNDI_SERVER_TYPE, getJndiServerType()),
+ new KeyValuePair(JNDI_SERVER_URL, getJndiServerURL()),
+ new KeyValuePair(PARAMS_REPOS_FACTORY_CLASS,
+ getParamsReposFactoryClass()),
+ new KeyValuePair(OBJECT_STORE_CONFIG_FILE, getObjStoreConfigFile()),
+ new KeyValuePair(ENCRYPT_FACTORY_CLASS, getEncryptionFactoryClass())
+
+ };
+
+ public static String dump() {
+ StringBuilder sb = new StringBuilder("Dump of SystemProperties:\n");
+ for (KeyValuePair oCurr : s_oaKV) {
+ sb.append(oCurr.getKey()).append("=").append(oCurr.getValue()).append("\n");
+ }
+ return sb.append("______________________________________").toString();
+ } // ________________________________
+
+ public static String getSmtpHost() {
+ return System.getProperty(SMTP_HOST, SystemProperties.DEFAULT_HOST);
+ }
+
+ public static String getSmtpUsername() {
+ return System.getProperty(SMTP_USERNAME, SystemProperties.DEFAULT_USERNAME);
+ }
+
+ public static String getSmtpPassword() {
+ return System.getProperty(SMTP_PASSWORD, SystemProperties.DEFAULT_PASSWORD);
+ }
+
+ public static String getSmtpPort() {
+ return System.getProperty(SMTP_PORT, SystemProperties.DEFAULT_PORT);
+ }
+
+ public static String getJndiServerType() {
+ return System.getProperty(JNDI_SERVER_TYPE,
+ SystemProperties.DEFAULT_SERVER_TYPE);
+ }
+
+ public static String getJndiServerURL() {
+ return System.getProperty(JNDI_SERVER_URL, SystemProperties.DEFAULT_HOST);
+ }
+
+ public static String getParamsReposFactoryClass() {
+ return System.getProperty(PARAMS_REPOS_FACTORY_CLASS,
+ org.jboss.soa.esb.parameters.DefaultReposFactory.class
+ .getName());
+ }
+
+ public static String getObjStoreConfigFile() {
+ return System.getProperty(OBJECT_STORE_CONFIG_FILE);
+ }
+
+ public static String getEncryptionFactoryClass() {
+ return System.getProperty(ENCRYPT_FACTORY_CLASS,
+ org.jboss.soa.esb.services.DefaultEncryptionFactory.class
+ .getName());
+ }
+
+}
\ No newline at end of file
Modified: labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/helpers/EsbEmail.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/helpers/EsbEmail.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/helpers/EsbEmail.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -40,7 +40,7 @@
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
-import org.jboss.soa.esb.common.EsbSysProps;
+import org.jboss.soa.esb.common.SystemProperties;
/**
* Simplifies sending of e-mails with attachments from java.
@@ -247,16 +247,16 @@
*/
private Session initMailServerSession() {
Authenticator oAuth = null;
- String sSmtpUser = EsbSysProps.getSmtpUsername();
+ String sSmtpUser = SystemProperties.getSmtpUsername();
if (null != sSmtpUser) {
- oAuth = new MyAuth(sSmtpUser, EsbSysProps.getSmtpPassword());
+ oAuth = new MyAuth(sSmtpUser, SystemProperties.getSmtpPassword());
}
Properties oMailP = new Properties();
- oMailP.setProperty("mail.smtp.host", EsbSysProps.getSmtpHost());
+ oMailP.setProperty("mail.smtp.host", SystemProperties.getSmtpHost());
try {
- String sPort = EsbSysProps.getSmtpPort();
+ String sPort = SystemProperties.getSmtpPort();
Integer.parseInt(sPort);
oMailP.setProperty("mail.smtp.port", sPort);
} catch (Exception e) { /* OK just leave standard port */
Modified: labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/parameters/ParamsReposUtil.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/parameters/ParamsReposUtil.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/common/src/org/jboss/soa/esb/parameters/ParamsReposUtil.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -25,7 +25,7 @@
import java.lang.reflect.*;
-import org.jboss.soa.esb.common.EsbSysProps;
+import org.jboss.soa.esb.common.SystemProperties;
public class ParamsReposUtil
{
@@ -48,7 +48,7 @@
throws Exception
{
String sFactClass
- = System.getProperty(EsbSysProps.PARAMS_REPOS_FACTORY_CLASS);
+ = System.getProperty(SystemProperties.PARAMS_REPOS_FACTORY_CLASS);
return reposFromFactory(sFactClass,p_oFactoryParam);
} //________________________________
Modified: labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/AbstractPoller.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/AbstractPoller.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/AbstractPoller.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -80,7 +80,7 @@
{
m_oLogger = EsbUtil.getDefaultLogger(this.getClass());
- String sFactoryClass = EsbSysProps.getParamsReposFactoryClass();
+ String sFactoryClass = SystemProperties.getParamsReposFactoryClass();
m_oParmRepos = ParamsReposUtil.reposFromFactory(sFactoryClass,null);
m_oParmsName = m_oParmRepos.nameFromString(p_sParamsUid);
} //__________________________________
@@ -170,8 +170,8 @@
if (EsbUtil.isNullString(sFactClass))
sFactClass = "ConnectionFactory";
- String sJndiType = EsbSysProps.getJndiServerType();
- String sJndiURL = EsbSysProps.getJndiServerURL();
+ String sJndiType = SystemProperties.getJndiServerType();
+ String sJndiURL = SystemProperties.getJndiServerURL();
Context oJndiCtx = AppServerContext.getServerContext(sJndiType,sJndiURL);
Object tmp = oJndiCtx.lookup(sFactClass);
TopicConnectionFactory tcf = (TopicConnectionFactory) tmp;
Modified: labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/JmsQueueListener.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/JmsQueueListener.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/JmsQueueListener.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -65,7 +65,7 @@
{
m_oLogger = EsbUtil.getDefaultLogger(this.getClass());
- String sFactoryClass = EsbSysProps.getParamsReposFactoryClass();
+ String sFactoryClass = SystemProperties.getParamsReposFactoryClass();
m_oParmRepos = ParamsReposUtil.reposFromFactory(sFactoryClass,null);
m_oParmsName = m_oParmRepos.nameFromString(p_sParamsUid);
runUntilEndRequested();
@@ -143,8 +143,8 @@
if (EsbUtil.isNullString(sFactClass))
sFactClass = "ConnectionFactory";
- String sJndiType = EsbSysProps.getJndiServerType();
- String sJndiURL = EsbSysProps.getJndiServerURL();
+ String sJndiType = SystemProperties.getJndiServerType();
+ String sJndiURL = SystemProperties.getJndiServerURL();
Context oJndiCtx = AppServerContext.getServerContext(sJndiType,sJndiURL);
Object tmp = oJndiCtx.lookup(sFactClass);
TopicConnectionFactory tcf = (TopicConnectionFactory) tmp;
@@ -361,8 +361,8 @@
if (EsbUtil.isNullString(sFactClass))
sFactClass = "ConnectionFactory";
- String sJndiType = EsbSysProps.getJndiServerType();
- String sJndiURL = EsbSysProps.getJndiServerURL();
+ String sJndiType = SystemProperties.getJndiServerType();
+ String sJndiURL = SystemProperties.getJndiServerURL();
Context oJndiCtx = AppServerContext.getServerContext(sJndiType,sJndiURL);
Object tmp = oJndiCtx.lookup(sFactClass);
QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
@@ -509,8 +509,8 @@
{
try { return NotificationHandlerFactory.getNotifHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
}
catch (Exception e)
Modified: labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/OldDirListener.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/OldDirListener.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/OldDirListener.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -96,7 +96,7 @@
}
*/
- String sFactoryClass = EsbSysProps.getParamsReposFactoryClass();
+ String sFactoryClass = SystemProperties.getParamsReposFactoryClass();
m_oParmRepos = ParamsReposUtil.reposFromFactory(sFactoryClass,null);
Name oParms = m_oParmRepos.nameFromString(p_sParamsUid);
@@ -164,8 +164,8 @@
String sStopTopic = "topic/quiesce";
StringBuilder sb = new StringBuilder("processor='OldDirListener'");
- String sJndiType = EsbSysProps.getJndiServerType();
- String sJndiServer = EsbSysProps.getJndiServerURL();
+ String sJndiType = SystemProperties.getJndiServerType();
+ String sJndiServer = SystemProperties.getJndiServerURL();
Context oJndiCtx = AppServerContext.getServerContext(sJndiType,sJndiServer);
Object tmp = oJndiCtx.lookup("UIL2ConnectionFactory");
Modified: labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/SqlTablePoller.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/SqlTablePoller.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/listeners/src/org/jboss/soa/esb/listeners/SqlTablePoller.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -34,7 +34,7 @@
import org.jboss.soa.esb.services.InotificationHandler;
import org.jboss.soa.esb.services.NotificationHandlerFactory;
import org.jboss.soa.esb.util.*;
-import org.jboss.soa.esb.common.EsbSysProps;
+import org.jboss.soa.esb.common.SystemProperties;
import org.jboss.soa.esb.helpers.*;
import org.jboss.soa.esb.helpers.persist.*;
import org.jboss.soa.esb.notification.NotificationList;
@@ -577,8 +577,8 @@
{
try { return NotificationHandlerFactory.getNotifHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
}
catch (Exception e)
Modified: labs/jbossesb/branches/refactor/product/core/processors/src/org/jboss/soa/esb/processors/EsbAbstractProcessor.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/processors/src/org/jboss/soa/esb/processors/EsbAbstractProcessor.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/processors/src/org/jboss/soa/esb/processors/EsbAbstractProcessor.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -72,8 +72,8 @@
protected InotificationHandler getNotifHandler() throws Exception
{ if (null == m_oNotifH)
{
- String sJndiType= EsbSysProps.getJndiServerType();
- String sJndiURL = EsbSysProps.getJndiServerURL();
+ String sJndiType= SystemProperties.getJndiServerType();
+ String sJndiURL = SystemProperties.getJndiServerURL();
m_oNotifH = NotificationHandlerFactory.getNotifHandler
("remote",sJndiType,sJndiURL);
}
@@ -141,8 +141,8 @@
{ InotificationHandler oNH =
NotificationHandlerFactory.getNotifHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
DomElement[] oaPost = m_oParms.getElementChildren(POSTPRC_ELEMENT);
for (int i1=0; i1<oaPost.length;i1++)
@@ -293,8 +293,8 @@
m_oPHandler = PersistHandlerFactory
.getPersistHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
return m_oPHandler;
} //________________________________
@@ -338,8 +338,8 @@
m_oBHandler = BatchHandlerFactory
.getBatchHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
return m_oBHandler;
} //________________________________
Modified: labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/BobjStore.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/BobjStore.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/BobjStore.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -65,7 +65,7 @@
static {
try {
URI objStoreConfig = URI.create(
- EsbSysProps.getObjStoreConfigFile());
+ SystemProperties.getObjStoreConfigFile());
DomElement oConf = DomElement.fromInputStream(
objStoreConfig.toURL().openStream());
Modified: labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/DaoSnapTable.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/DaoSnapTable.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/internal/core/objectstore/DaoSnapTable.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -232,7 +232,7 @@
{ if (null!=m_oMangler)
return m_oMangler;
- String sFactoryName = EsbSysProps.getEncryptionFactoryClass();
+ String sFactoryName = SystemProperties.getEncryptionFactoryClass();
Class oFactClass = DefaultEncryptionFactory.class;
if (null!=sFactoryName)
oFactClass = Class.forName(sFactoryName);
Modified: labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/services/msglistener/AbstractEsbMsgDrivenBean.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/services/msglistener/AbstractEsbMsgDrivenBean.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/services/src/org/jboss/soa/esb/services/msglistener/AbstractEsbMsgDrivenBean.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -50,7 +50,7 @@
* The service identifier will be used as a left_to_right (separator="/")
* Name to search the corresponding configuration in a ParamsRepository object
* provided by the factory class name in the
- * EsbSysProps.PARAMS_REPOS_FACTORY_CLASS system property
+ * SystemProperties.PARAMS_REPOS_FACTORY_CLASS system property
*<p>
* Derived classes are typically empty, and are coded just to tie the
* MDB that extends this class with a specific
@@ -241,7 +241,7 @@
throws Exception
{
String sFactoryClass
- = EsbSysProps.getParamsReposFactoryClass();
+ = SystemProperties.getParamsReposFactoryClass();
ParamsRepository oRep
= ParamsReposUtil.reposFromFactory(sFactoryClass,null);
return oRep.getElement(oRep.nameFromString(p_sKey));
Modified: labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/notification/NotificationFuncTest.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/notification/NotificationFuncTest.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/notification/NotificationFuncTest.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -24,7 +24,7 @@
import java.util.*;
import java.text.SimpleDateFormat;
-import org.jboss.soa.esb.common.EsbSysProps;
+import org.jboss.soa.esb.common.SystemProperties;
import org.jboss.soa.esb.common.tests.BaseTest;
import org.jboss.soa.esb.helpers.*;
import org.jboss.soa.esb.helpers.persist.SimpleDataSource;
@@ -62,8 +62,8 @@
// get a handle to your business delegate
m_oH = NotificationHandlerFactory.getNotifHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
DomElement oEl = new DomElement("MyFileList");
Modified: labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/objectstore/ObjectStoreFuncTest.java
===================================================================
--- labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/objectstore/ObjectStoreFuncTest.java 2006-08-01 20:32:19 UTC (rev 5387)
+++ labs/jbossesb/branches/refactor/product/core/services/tests/src/org/jboss/soa/esb/services/tests/objectstore/ObjectStoreFuncTest.java 2006-08-01 21:08:27 UTC (rev 5388)
@@ -21,7 +21,7 @@
*/
package org.jboss.soa.esb.services.tests.objectstore;
-import org.jboss.soa.esb.common.EsbSysProps;
+import org.jboss.soa.esb.common.SystemProperties;
import org.jboss.soa.esb.common.tests.bizclasses.PersonUnitTest;
import org.jboss.soa.esb.common.tests.BaseTest;
import org.jboss.soa.esb.common.bizclasses.*;
@@ -53,8 +53,8 @@
// get a handle to your business delegate
m_oH = PersistHandlerFactory.getPersistHandler
("remote"
- ,EsbSysProps.getJndiServerType()
- ,EsbSysProps.getJndiServerURL()
+ ,SystemProperties.getJndiServerType()
+ ,SystemProperties.getJndiServerURL()
);
// request UID chunks for your own use
More information about the jboss-svn-commits
mailing list