com.raritantechnologies.federated.eRoom
Class CompositeERoomUserMonitor
java.lang.Object
com.raritantechnologies.federated.eRoom.ERoomUserMonitor
com.raritantechnologies.federated.eRoom.CompositeERoomUserMonitor
- All Implemented Interfaces:
- IConfigurable
- public class CompositeERoomUserMonitor
- extends ERoomUserMonitor
Use this if there are multiple ERoom servers that need to be used with the ERoomUserMonitor.
XML Configuration Template:
<ERoomUserMonitor class="com.raritantechnologies.federated.eRoom.CompositeERoomUserMonitor" >
<!-- Two or more child ERoomUserMonitors -->
<ERoomUserMonitor class="[ class of com.raritantechnologies.federated.eRoom.ERoomUserMonitor" >
</ERoomUserMonitor>
<ERoomUserMonitor etc. . .>
</ERoomUserMonitor>
|
Method Summary |
java.lang.String |
getUserERooms(java.lang.String userLoginName)
Returns a comma separated list of ERooms that a user can access. |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
stopUpdates()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeERoomUserMonitor
public CompositeERoomUserMonitor()
CompositeERoomUserMonitor
public CompositeERoomUserMonitor(java.util.Properties initProperties)
getUserERooms
public java.lang.String getUserERooms(java.lang.String userLoginName)
- Description copied from class:
ERoomUserMonitor
- Returns a comma separated list of ERooms that a user can access.
- Overrides:
getUserERooms in class ERoomUserMonitor
stopUpdates
public void stopUpdates()
- Overrides:
stopUpdates in class ERoomUserMonitor
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable- Overrides:
initialize in class ERoomUserMonitor