|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.core.startup.layers.SessionManager
public final class SessionManager
Session manager.
| Field Summary | |
|---|---|
static String |
LAYER_INSTALL
instalation layer |
static String |
LAYER_SESSION
session layer |
static String |
PROP_CLOSE
session is closed |
static String |
PROP_OPEN
session is opened |
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Registers PropertyChangeListener to receive events. |
void |
close()
Close session |
FileSystem |
create(File userDir,
File homeDir,
File[] extradirs)
Initializes and creates new repository. |
static SessionManager |
getDefault()
get default one |
FileSystem |
getLayer(String name)
get a layer associated with the name |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes PropertyChangeListener from the list of listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_OPEN
public static final String PROP_CLOSE
public static final String LAYER_SESSION
public static final String LAYER_INSTALL
| Method Detail |
|---|
public static SessionManager getDefault()
public FileSystem create(File userDir,
File homeDir,
File[] extradirs)
throws PropertyVetoException,
IOException
userDir - directory where user can writehomeDir - directory where netbeans has been installed, user need not have write accessextradirs - 0+ extra dirs to add; cf. #27151
PropertyVetoException - if something fails
IOExceptionpublic void close()
public FileSystem getLayer(String name)
name - layer name (LAYER_SESSION, ...)
nullpublic void addPropertyChangeListener(PropertyChangeListener listener)
listener - The listener to register.public void removePropertyChangeListener(PropertyChangeListener listener)
listener - The listener to remove.
|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||