[jboss-user] [JBoss Portal] - Re: Reading/Updating JBoss CMS Files via Java Batch Program

user.java do-not-reply at jboss.com
Wed Oct 29 21:13:42 EDT 2008


Thanks for the quick response.

 I did dig through the code and see it tightly coupled with portlet. But if i need to call the same service via Java Command prompt (like a helloworl program). Is there any place i can go to.

I am having problem with using the CMS.

Class clazz = Class.forName("org.jboss.portal.cms.management.CMSImpl");
  | 
  | CMS cms =(CMS) clazz.newInstance();
  | org.jboss.portal.cms.Command listCMD = cms.getCommandFactory().createFolderGetListCommand("/");
  | 
  | 

Appreciate any help in this regard.




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185574#4185574

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185574



More information about the jboss-user mailing list