Real Time Information Director User Documentation
 RTID Management 
Hewlett-Packard Company  18  529618 - 001 
To load a class dynamically, use the –load option of the Director management client 
(MBeanClient) or invoke the following Director management method from your own 
client: 
  void loadDocumentClass(String name) throws Exception; 
The parameter is the name of the document class. The name must be the fully qualified 
path with the package name. 
Example: com.hp.rtsc.documents.NewOrders05 
When you load a document class using this interface, a message is logged in the Director 
server log that reflects the status of the load. 
<Loading named DocumentDefinition com.hp.rtsc.documents.NewOrders05> 
Refer to the Director Management Client section to find out how to load a document 
metadata class using the Director management client. 
Important Notes: 
•  Before you invoke this interface you must copy the class file in binary format 
to the appropriate folder in your application home directory on the NonStop 
server. For example, if the application directory is 
/usr/tandem/rtid/examples/rtsc, the class file must be present in the 
subdirectory /usr/tandem /rtid/examples/rtsc/com/hp/rtsc/documents. 
•  The Director management interface DOES NOT update the DOCCLASS 
table. Thus, any classes you add using this interface will be available only 
until the next time the server restarts. If you want the new classes to be 
loaded whenever the server restarts, you must add the classes manually to the 
DOCCLASS table. 
D
D
y
y
n
n
a
a
m
m
i
i
c
c
a
a
l
l
l
l
y
y
L
L
o
o
a
a
d
d
i
i
n
n
g
g
t
t
h
h
e
e
D
D
a
a
t
t
a
a
b
b
a
a
s
s
e
e
S
S
c
c
h
h
e
e
m
m
a
a
f
f
o
o
r
r
a
a
T
T
a
a
b
b
l
l
e
e
The Director includes mechanisms to recognize a database schema change, re-query the 
schema, and recompile the prepared statements that use the modified table. If this 
mechanism fails for any reason, you can use the Management Client or interface to reload 
the schema for one or more tables. 
The option for dynamically reloading the schema is –schema. For syntax, see the section 
entitled “Director Management Client.” 
The recommended approach for making an online database change is described in the 
document entitled “RTID Extensibility.”  










