[jboss-cvs] JBossAS SVN: r61670 - branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Mar 25 11:15:19 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-03-25 11:15:18 -0400 (Sun, 25 Mar 2007)
New Revision: 61670
Modified:
branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java
Log:
[EJBTHREE-881] Clustered proxy factories get the partition name from EJBContainer
Modified: branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java
===================================================================
--- branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java 2007-03-25 15:01:10 UTC (rev 61669)
+++ branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/session/BaseSessionProxyFactory.java 2007-03-25 15:15:18 UTC (rev 61670)
@@ -106,39 +106,4 @@
return metadata;
}
-
- /**
- * Performs a system property substitution if the given value conforms to the
- * "${property.name}" or "${property.name:defaultvalue}" patterns; otherwise just
- * returns <code>value</value>.
- *
- * TODO Put this in a utility somewhere; this is just the common parent of
- * the places that currently use it.
- *
- * @param value a String that may represent a system property.
- *
- * @return the value of the given system property, or the provided default value
- * if there was no system property matching the given string, or
- * <code>value</code> itself if it didn't encode a system property name.
- */
- protected String substituteSystemProperty(String value)
- {
- try
- {
- String replacedValue = StringPropertyReplacer.replaceProperties(value);
- if (value != replacedValue)
- {
- log.debug("Replacing @Clustered partition attribute " + value + " with " + replacedValue);
- value = replacedValue;
- }
- }
- catch (Exception e)
- {
- log.warn("Unable to replace @Clustered partition attribute " + value +
- ". Caused by " + e.getClass() + " " + e.getMessage());
- }
-
- return value;
- }
-
}
More information about the jboss-cvs-commits
mailing list