Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
29 | 2 | 0 | 1.000 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 29 | 358 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java |
2 | 26 | 326 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java |
| |||||
/** * <b>Deprecated</b>. Defines the location of Sun's EJB DTD in * the weblogic class hierarchy. Should not be needed, and the * nested <dtd> element is recommended when it is. * * @param inString the string to use as the DTD location. */ public void setEJBdtd(String inString) { this.ejb11DTD = inString; } /** * Set the value of the oldCMP scheme. This is an antonym for newCMP * @ant.attribute ignore="true' * @param oldCMP a <code>boolean</code> value. */ public void setOldCMP(boolean oldCMP) { this.newCMP = !oldCMP; } /** * If this is set to true, the new method for locating * CMP descriptors will be used; optional, default false. * <P> * The old CMP scheme locates the * weblogic CMP descriptor based on the naming convention where the * weblogic CMP file is expected to be named with the bean name as the * prefix. Under this scheme the name of the CMP descriptor does not match * the name actually used in the main weblogic EJB descriptor. Also, * descriptors which contain multiple CMP references could not be used. * @param newCMP a <code>boolean</code> value. */ public void setNewCMP(boolean newCMP) { this.newCMP = newCMP; } |
| |||||
/** * Setter used to store the location of the Sun's Generic EJB DTD. This * can be a file on the system or a resource on the classpath. * * @param inString the string to use as the DTD location. */ public void setEJBdtd(String inString) { this.ejb11DTD = inString; } /** * Set the value of the oldCMP scheme. This is an antonym for newCMP * @ant.attribute ignore="true" * @param oldCMP a <code>boolean</code> value. */ public void setOldCMP(boolean oldCMP) { this.newCMP = !oldCMP; } /** * Set the value of the newCMP scheme. The old CMP scheme locates the * websphere CMP descriptor based on the naming convention where the * websphere CMP file is expected to be named with the bean name as the * prefix. Under this scheme the name of the CMP descriptor does not match * the name actually used in the main websphere EJB descriptor. Also, * descriptors which contain multiple CMP references could not be used. * @param newCMP a <code>boolean</code> value. */ public void setNewCMP(boolean newCMP) { this.newCMP = newCMP; } |
| |||
/** * <b>Deprecated</b>. Defines the location of Sun's EJB DTD in * the weblogic class hierarchy. Should not be needed, and the * nested <dtd> element is recommended when it is. * * @param inString the string to use as the DTD location. */ /** * Setter used to store the location of the Sun's Generic EJB DTD. This * can be a file on the system or a resource on the classpath. * * @param inString the string to use as the DTD location. */ public void setEJBdtd(String inString) { this.ejb11DTD = inString; } /** * Set the value of the oldCMP scheme. This is an antonym for newCMP * @ant.attribute ignore="true' * @param oldCMP a <code>boolean</code> value. */ /** * Set the value of the oldCMP scheme. This is an antonym for newCMP * @ant.attribute ignore="true" * @param oldCMP a <code>boolean</code> value. */ public void setOldCMP(boolean oldCMP) { this.newCMP = !oldCMP; } /** * If this is set to true, the new method for locating * CMP descriptors will be used; optional, default false. * <P> * The old CMP scheme locates the * weblogic CMP descriptor based on the naming convention where the * weblogic CMP file is expected to be named with the bean name as the * prefix. Under this scheme the name of the CMP descriptor does not match * the name actually used in the main weblogic EJB descriptor. Also, * descriptors which contain multiple CMP references could not be used. * @param newCMP a <code>boolean</code> value. */ /** * Set the value of the newCMP scheme. The old CMP scheme locates the * websphere CMP descriptor based on the naming convention where the * websphere CMP file is expected to be named with the bean name as the * prefix. Under this scheme the name of the CMP descriptor does not match * the name actually used in the main websphere EJB descriptor. Also, * descriptors which contain multiple CMP references could not be used. * @param newCMP a <code>boolean</code> value. */ public void setNewCMP(boolean newCMP) { this.newCMP = newCMP; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |