com.jalios.jcmsplugin.virtualdesktop
Interface DesktopPolicyFilter


public interface DesktopPolicyFilter

Interface to be implemented to provide a custom policy for some behavior of the virtual desktop

Since:
virtualdesktop-1.0

Method Summary
 Desktop getNewDesktop(JcmsContext context, Desktop desktop)
          Method to implements to provides a custom Desktop for a member.
 

Method Detail

getNewDesktop

Desktop getNewDesktop(JcmsContext context,
                      Desktop desktop)
Method to implements to provides a custom Desktop for a member.

This methods is invoked only when a member access its VirtualDesktop for the first time.

Parameters:
context - the JcmsContext for which the new desktop is being requested
desktop - the default desktop already computed by JCMS
Returns:
a Desktop instance, must not return null.
Since:
virtualdesktop-1.0
See Also:
DesktopManager.DESKTOP_POLICY_FILTER_CLASS_PROP


Copyright © 2001-2007 Jalios SA. All Rights Reserved.