BCL
uPortal2 Backwards Compatibility Library
Purpose
BCL aims to provide the minimal set of uPortal2 classes necessary to enable channels to work within uPortal3 framework. This includes interfaces and a number of concreete classes. This page outlines what is currently included in the BCL and why.
Content
BCL in uPortal3 (uP2api.jar) currently includes the following classes:
( classes that should be removed, currently broken features)
class |
purpose |
---|---|
|
Core channel interfaces. |
|
Core classes. These are extended in the uP3 framework. |
|
Additional classes referenced by core classes. |
|
Custom response interfaces. While the interfaces are included in the library, current adapter implementation does not support this functionality. |
|
Caching |
|
uP2 event and exception support |
|
uP2 problem tracking classes, since they are referenced from within exception implementations. Will need to move to the uP3 problem management. |
|
A set of adapter implementation for existing interface combinations (i.e. MultithreadedPrivilegedCacheableChannelAdapter) |
|
Properties manager, which is required by several classes within the library (SAX2BufferImpl) |
|
Base channel classes |
|
channel utilities |
|
uP2 filter and buffer implementations used in some of the channels |
|
uP2 i18n |
|
This set of classes is included becase IUserLayoutManager is referenced from ChannelStaticData (for the purposes of persisting channel parameters). Would be nice to remove this dependency, but I am not sure this is doable. Including these is admittedly ugly, but the methods which use IUserLayoutManager are overloaded and never called, so all this is provides is compile-time compatibility. |