Java Cfx Class Loading - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

282
Query Object
Provides an interface for working with ColdFusion queries, including methods for
retrieving name, row count, and column names as well as methods for getting and
setting data elements..
Methods Used by Query Object
Method
getName
getRowCount
getColumns
getData
addRows
setData
For detailed reference information on each of these interfaces see the
Reference" on page

Java CFX Class Loading

Each Java CFX class has its own associated
dependent classes also located in the
after a change, a new
special behavior is similar to the way Java servlets are handled by the Java Web Server
and other servlet engines, and is required in order to implement automatic class
reloading.
However, this behavior can cause subtle problems when attempting to perform casts
on instances of classes loaded from a different
though the objects are apparently of the same type. This is because the object was
created from a different
To solve this problem, only perform casts to class or interface types that are loaded via
the standard Java class path, that is, classes not located in the
works because classes loaded from outside of the
using the system
Description
Retrieves the name of the query
Retrieves the number of rows in the query
Retrieves the names of the query columns
Retrieves a data element from the query
Adds a new row to the query
Sets a data element within the query
311.
classes
is associated with the freshly loaded class. This
ClassLoader
and is therefore technically not of the same type.
ClassLoader
and will therefore have a consistent runtime type.
ClassLoader
Developing Web Applications with ColdFusion
which loads it and any
ClassLoader
directory. When Java CFXs are reloaded
. The cast will fail even
ClassLoader
classes
directory are always loaded
classes
"Java CFX
directory. This

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents