uPortal 2.4.1
API Documentation

org.jasig.portal.car
Class CarResourceWorker

java.lang.Object
  extended byorg.jasig.portal.car.CarResourceWorker
All Implemented Interfaces:
IWorkerRequestProcessor

public class CarResourceWorker
extends java.lang.Object
implements IWorkerRequestProcessor

Class to handle incoming portal requests with specified worker of "carrsrc". These request are for loading web elements out of an installed channel archive file. The form of the URL is the traditional UPFileSpec with a worker of "carrsrc" and a query parameter "carrsrc=". The resourcePath is the path to the resource from within the channel archive. For example: if a channel existed with the directory structure of "org/jasig/uportal/channels/email/" and within the email channel base directory there was an "images" directory containing "mailbox.gif" then the browser could access that image from the installed email channel archive via ".uP?carrsrc=org/jasig/ uportal/channels/email/images/mailbox.gif". See the ChannelRuntimeData.getBaseMediaURL methods from which channels can obtain the base URL dynamically without having to know if they are deployed as a traditional channel or as a channel archive.

Version:
$Revision: 1.12 $
Author:
Mark Boyd

Field Summary
static java.lang.String RCS_ID
           
 
Constructor Summary
CarResourceWorker()
          Create a CarResourceWorker.
 
Method Summary
 void processWorkerDispatch(PortalControlStructures pcs)
          Provides web access to channel resources stored in channel archive files housing channels if the channels were installed in the portal using a CAR.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values
Constructor Detail

CarResourceWorker

public CarResourceWorker()
Create a CarResourceWorker.

Method Detail

processWorkerDispatch

public void processWorkerDispatch(PortalControlStructures pcs)
                           throws PortalException
Provides web access to channel resources stored in channel archive files housing channels if the channels were installed in the portal using a CAR.

Specified by:
processWorkerDispatch in interface IWorkerRequestProcessor
Parameters:
pcs - a PortalControlStructures object
Throws:
PortalException - if an error occurs

uPortal 2.4.1
API Documentation