1 21 22 package org.opensubsystems.core.logic; 23 24 import java.util.List ; 25 26 import org.opensubsystems.core.error.OSSException; 27 import org.opensubsystems.core.util.ClassFactory; 28 29 39 public class ControllerClassFactory extends ClassFactory 40 { 41 44 protected void createDefaultClassNames( 45 String strClassIdentifier, 46 String strModifier, 47 List lstClassNames 48 ) throws OSSException 49 { 50 int iIndex; 51 StringBuffer sbClassName = new StringBuffer (); 52 53 55 iIndex = strClassIdentifier.lastIndexOf('.'); 57 sbClassName.append(strClassIdentifier.substring(0, iIndex + 1)); 59 sbClassName.append("impl."); 60 sbClassName.append(strClassIdentifier.substring(iIndex + 1)); 61 sbClassName.append("Impl"); 62 lstClassNames.add(sbClassName.toString()); 63 } 64 } 65 | Popular Tags |