On Wed, 18 Jul 2001 01:17:12 -0700
Kimbro Staken <[EMAIL PROTECTED]> wrote:

> I agree. Lars is the understanding of intent here correct?

Yes, of course you guys are right. The Database instance is not needed.
A simple Class.forName() ist enough to execute the static registration
block.

// automatically register database via static block
Class.forName( "org.xmldb.api.reference.DatabaseImpl" );

// get root collection from DatabaseManager
Collection collection = DatabaseManager.getCollection ( uri );
...



--
______________________________________________________________________
Lars Martin                                    mailto:[EMAIL PROTECTED]
SMB GmbH                                        http://www.smb-tec.com


----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact adminstrator:   mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to