@Component public class ProfileManager extends Observable implements org.marid.logging.LogSupport, org.marid.pref.SysPrefSupport
org.marid.logging.LogSupport.Log| Modifier and Type | Field and Description |
|---|---|
protected MaridBeanConnectionManager |
connectionManager |
protected ConcurrentSkipListMap<String,Profile> |
profileMap |
LOGGERSSYSPREFS| Constructor and Description |
|---|
ProfileManager(MaridBeanConnectionManager connectionManager) |
| Modifier and Type | Method and Description |
|---|---|
Profile |
addProfile(String name) |
protected Path |
defaultPath() |
MaridBeanConnectionManager |
getConnectionManager() |
Profile |
getCurrentProfile() |
Profile |
getProfileByName(String name) |
List<Profile> |
getProfiles() |
Path |
getProfilesDir() |
void |
removeProfile(String name) |
void |
setCurrentProfile(Profile profile) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfig, fine, finer, finest, info, log, log, logger, severe, severe, warning, warninggetSysPref, getSysPref, logSysPrefError, putSysPref, putSysPrefprotected final MaridBeanConnectionManager connectionManager
protected final ConcurrentSkipListMap<String,Profile> profileMap
@Autowired public ProfileManager(MaridBeanConnectionManager connectionManager) throws IOException
IOExceptionprotected Path defaultPath()
public Path getProfilesDir()
public void removeProfile(String name)
public Profile getCurrentProfile()
public void setCurrentProfile(Profile profile)
public MaridBeanConnectionManager getConnectionManager()
Copyright © 2012–2015 MARID software development group. All rights reserved.