dbSelector = (ComponentSelector)
  manager.lookup(DataSourceComponent.ROLE + "Selector");

Vadim


-----Original Message-----
From: Vladimir Ershov [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 21, 2002 8:37 AM
To: [EMAIL PROTECTED]
Subject: [HELP]I can't find org.apache.cocoon.Roles class

In one old project i sow that they used class org.apache.cocoon.Roles to
make database connection.
 
this.dbSelector =
(ComponentSelector)manager.lookup(Roles.DB_CONNECTION);
 
But in Cocoon version 2.0.2-dev I can't find this class.
Please, help me to resolve this problem.
 
Best regards, Vladimir.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to