org.springframework.roo.classpath.preferences
Class PreferencesServiceImpl

java.lang.Object
  extended by org.springframework.roo.classpath.preferences.PreferencesServiceImpl
All Implemented Interfaces:
PreferencesService

@Service
public class PreferencesServiceImpl
extends Object
implements PreferencesService

The PreferencesService implementation.

Since:
1.2.0
Author:
Andrew Swan

Constructor Summary
PreferencesServiceImpl()
           
 
Method Summary
 Preferences getPreferencesFor(Class<?> owningClass)
          Returns the user's preferences for the package in which the given class resides.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesServiceImpl

public PreferencesServiceImpl()
Method Detail

getPreferencesFor

public Preferences getPreferencesFor(Class<?> owningClass)
Description copied from interface: PreferencesService
Returns the user's preferences for the package in which the given class resides.

Specified by:
getPreferencesFor in interface PreferencesService
Parameters:
owningClass - the class for whose package to retrieve the user's preferences (required)
Returns:
a non-null instance
See Also:
Preferences#userNodeForPackage(Class)


Copyright © 2009–2015. All rights reserved.