org.springframework.batch.admin.web.resources
Class MenuManager

java.lang.Object
  extended by org.springframework.batch.admin.web.resources.MenuManager

@Component
public class MenuManager
extends Object

Aggregator for Menu contributions. Use menuManager.values to get access to the contributed menu items.

Author:
Dave Syer

Constructor Summary
MenuManager()
           
 
Method Summary
 Collection<Menu> getMenus()
           
 void setMenus(Collection<Menu> menus)
          The menus to manage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuManager

public MenuManager()
Method Detail

setMenus

public void setMenus(Collection<Menu> menus)
The menus to manage. Autowired so the aggregation happens automatically by default.

Parameters:
menus - the menus to set

getMenus

public Collection<Menu> getMenus()


Copyright © 2011. All Rights Reserved.