cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinh...@apache.org>
Subject Re: How to get JobScheduler component inside xsp
Date Fri, 05 Mar 2004 08:19:33 GMT
Grzegorz Goliatus Tańczyk wrote:

>Witajcie!
>
>  What I know now is:
>        <xsp:structure>
>                <xsp:include>org.apache.cocoon.components.cron.*</xsp:include>
>                <xsp:include>org.apache.cocoon.*</xsp:include>
>        </xsp:structure>
>  and:
>  JobScheduler scheduler =
>  (JobScheduler)Cocoon.getComponentManager().getComponentHandler(...).get();
>
>  And now I have some problems:
>  String role, // "org.apache.cocoon.components.cron.JobScheduler" ???
>  Class componentClass, // JobScheduler.class ???
>  // i have no idea with rest of parameters
>  Configuration configuration,
>  Context context,
>  RoleManager roleManager,
>  LogkitLoggerManager logkitManager
>
>  From where can I get them?
>
>  
>
Have a look at the flowscript demo, it's Javascript but very similar to 
Java ;-)

-- 
Reinhard


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message