I'm trying to display all the system objects in the PCD, along with their associated aliases. I'm able to traverse the PCD via the JNDI interface, and I can pick out all the systems (based on the class name).
However, at this point I'm stuck. I've tried various methods of trying to fetch the system object from the PCD, but nothing seems to work.
Given a PCD path, how can you fetch the related object?
I'm trying to do this:
Object o = ctx.lookup( "pcd:portal_content/Collaboration_Integration_WebEx" );
'o' is a com.sapportals.portal.pcd.gl.PcdGlContext, which I assume should be accessed via IPcdContext. However, this isn't a system object; rather, it seems to be another lookup mechanism.
Any suggestions would be most welcome.
BTW, I've also looked at using the Portal Service for systems, ala
ISystems systemSrv = (ISystems) PortalRuntime.getRuntimeResources().getService(ISystems.KEY);
IPrincipal prin = getServiceUser("pcd_service");
String aliases[] = systemSrv.getAliases(prin, true);
but this doesn't seem to return all aliases in the system (and therefore not all systems), whereas traversing the PCD manually does return all defined systems.
Message was edited by: Ken Miller