public class AdminSessionProvider extends Object implements Serviceable, Initializable, Component
Modifier and Type | Field and Description |
---|---|
private Repository |
_repository |
private Session |
_session |
static String |
ROLE
Avalon Role
|
Constructor and Description |
---|
AdminSessionProvider() |
Modifier and Type | Method and Description |
---|---|
Session |
getAdminSession()
Returns the admin session
|
void |
initialize() |
void |
service(ServiceManager manager) |
private Repository _repository
public AdminSessionProvider()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public Session getAdminSession() throws RepositoryException
RepositoryException
- if an error occurs.