From: Bill B. <pat...@us...> - 2002-08-15 23:33:11
|
User: patriot1burke Date: 02/08/15 16:31:56 Modified: src/main/org/jboss/ha/framework/server Tag: Branch_3_0 HAPartitionImpl.java Log: support RPC object handlers names with "." in the string. Revision Changes Path No revision No revision 1.17.2.2 +2 -2 jbossmx/src/main/org/jboss/ha/framework/server/HAPartitionImpl.java Index: HAPartitionImpl.java =================================================================== RCS file: /cvsroot/jboss/jbossmx/src/main/org/jboss/ha/framework/server/HAPartitionImpl.java,v retrieving revision 1.17.2.1 retrieving revision 1.17.2.2 diff -u -r1.17.2.1 -r1.17.2.2 --- HAPartitionImpl.java 27 Jul 2002 15:00:37 -0000 1.17.2.1 +++ HAPartitionImpl.java 15 Aug 2002 23:31:56 -0000 1.17.2.2 @@ -33,7 +33,7 @@ * * @author <a href="mailto:sac...@co...">Sacha Labourey</a>. * @author <a href="mailto:bi...@bu...">Bill Burke</a>. - * @version $Revision: 1.17.2.1 $ + * @version $Revision: 1.17.2.2 $ * * <p><b>Revisions:</b><br> */ @@ -499,7 +499,7 @@ // method_call=(MethodCall)body; String methodName = method_call.getName(); - int idx = methodName.indexOf('.'); + int idx = methodName.lastIndexOf('.'); String handlerName = methodName.substring(0, idx); String newMethodName = methodName.substring(idx + 1); if (log.isDebugEnabled()) { |