User: d_jencks
Date: 02/02/21 20:24:55
Modified: src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql SQLTarget.java
Log:
Made classes visible across all subpackages in a deployment such as an ear. (bug
520676. Restructured deployment process to involve 3 phases: classloading, create
where components set up their externally visible aspects, and start where components
connect to other components. Renamed Application to EjbModule.
Revision Changes Path
1.12 +8 -8
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql/SQLTarget.java
Index: SQLTarget.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql/SQLTarget.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- SQLTarget.java 15 Jan 2002 22:40:36 -0000 1.11
+++ SQLTarget.java 22 Feb 2002 04:24:55 -0000 1.12
@@ -12,7 +12,7 @@
import javax.ejb.EJBLocalObject;
import javax.ejb.EJBObject;
import javax.ejb.EntityBean;
-import org.jboss.ejb.Application;
+import org.jboss.ejb.EjbModule;
import org.jboss.ejb.EntityContainer;
import org.jboss.ejb.plugins.CMPPersistenceManager;
import org.jboss.ejb.plugins.cmp.ejbql.DeepCloneable;
@@ -37,7 +37,7 @@
private final Method method;
private final JDBCTypeFactory typeFactory;
private final IdentifierManager idManager;
- private final Application application;
+ private final EjbModule ejbModule;
private final Map managerByAbstractSchemaName = new Hashtable();
private final List inputParameters = new ArrayList();
private final JDBCReadAheadMetaData readAhead;
@@ -51,24 +51,24 @@
private String sql;
/**
- * Constructs an a sql target for an EJB-QL query over the specified application.
- * @param application the application over which this query is defined
+ * Constructs an a sql target for an EJB-QL query over the specified ejbModule.
+ * @param ejbModule the ejbModule over which this query is defined
*/
public SQLTarget(Method method,
JDBCTypeFactory typeFactory,
- Application application,
+ EjbModule ejbModule,
JDBCReadAheadMetaData readAhead) {
this.method = method;
this.typeFactory = typeFactory;
- this.application = application;
+ this.ejbModule = ejbModule;
this.readAhead = readAhead;
if(method.getReturnType().equals(Set.class)) {
isSelectDistinct = true;
}
- for(Iterator i = application.getContainers().iterator(); i.hasNext(); ) {
+ for(Iterator i = ejbModule.getContainers().iterator(); i.hasNext(); ) {
Object o = i.next();
if(o instanceof EntityContainer) {
EntityContainer container = (EntityContainer)o;
@@ -94,7 +94,7 @@
public SQLTarget(SQLTarget target) {
method = target.method;
typeFactory = target.typeFactory;
- application = target.application;
+ ejbModule = target.ejbModule;
readAhead = target.readAhead;
idManager = new IdentifierManager(target.idManager);
managerByAbstractSchemaName.putAll(target.managerByAbstractSchemaName);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development