-
Method Summary
void
Dumps the configuration to the given writer for debugging purposes.
Returns the aggregator for the given node or null if none
found.
Returns the repository address of the mountpoint of this artifacts node
tree.
Returns the root aggregate of the tree
Returns the session of this manager.
Returns the user id of the session of this manager.
Returns the name of the workspace of this manager.
Returns the workspace filter.
boolean
Checks if this tree is still mounted and if the attached session
is still live.
void
Starts tracking aggregate lifecycles
void
Stops tracking of aggregate lifecycle
void
Releases all resources attached to this artifact manager
-
Method Details
-
unmount
Releases all resources attached to this artifact manager
- Throws:
RepositoryException - if an error occurs.
-
getRoot
Returns the root aggregate of the tree
- Returns:
- the root aggregate.
- Throws:
RepositoryException - if an error occurs.
-
getMountpoint
Returns the repository address of the mountpoint of this artifacts node
tree.
- Returns:
- the mountpoint
-
getAggregator
Returns the aggregator for the given node or null if none
found.
- Parameters:
node - for which the aggregator is to be returned
path - the path of the node or null
- Returns:
- the aggregator or
null
- Throws:
RepositoryException - if a repository error occurs.
-
getWorkspaceFilter
Returns the workspace filter.
- Returns:
- the workspace filter.
-
isMounted
boolean isMounted()
Checks if this tree is still mounted and if the attached session
is still live.
- Returns:
true if still mounted
-
getUserId
Returns the user id of the session of this manager.
- Returns:
- the user id.
- Throws:
RepositoryException - if an error occurs.
-
getWorkspace
Returns the name of the workspace of this manager.
- Returns:
- the name of the workspace.
- Throws:
RepositoryException - if an error occurs.
-
getSession
Returns the session of this manager.
- Returns:
- the jcr session
-
getConfig
Returns the config
- Returns:
- the config
-
dumpConfig
Dumps the configuration to the given writer for debugging purposes.
- Parameters:
out - the writer
- Throws:
IOException - if an I/O error occurs
-
startTracking
Starts tracking aggregate lifecycles
- Parameters:
listener - optional listener
-
stopTracking
void stopTracking()
Stops tracking of aggregate lifecycle