public class DefaultRepositoryStrategy extends AbstractRepositoryStrategy
Modifier and Type | Field and Description |
---|---|
protected UserContext |
context |
repositoryManager
Constructor and Description |
---|
DefaultRepositoryStrategy(RepositoryManager repositoryManager,
UserContext context) |
Modifier and Type | Method and Description |
---|---|
protected javax.jcr.Credentials |
getCredentials() |
protected javax.jcr.Session |
internalGetSession(String workspaceName) |
void |
release() |
getLocalSessionCount, getSession, release, releaseSession
protected UserContext context
@Inject public DefaultRepositoryStrategy(RepositoryManager repositoryManager, UserContext context)
protected javax.jcr.Session internalGetSession(String workspaceName) throws javax.jcr.RepositoryException
internalGetSession
in class AbstractRepositoryStrategy
javax.jcr.RepositoryException
protected javax.jcr.Credentials getCredentials()
public void release()
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.