public abstract class AbstractManager
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.thread.ThreadSafe
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.avalon.framework.service.ServiceManager |
manager |
| Constructor and Description |
|---|
AbstractManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected GroupManager |
getGroupManager() |
protected PermissionManager |
getPermissionManager() |
protected RoleManager |
getRoleManager() |
protected org.apache.avalon.framework.service.ServiceManager |
getServiceManager() |
protected UserManager |
getUserManager() |
protected void |
release(Object obj) |
protected Object |
resolve(String lookup) |
void |
service(org.apache.avalon.framework.service.ServiceManager manager)
Avalon Service lifecycle method
|
protected org.apache.avalon.framework.service.ServiceManager getServiceManager()
protected UserManager getUserManager() throws DataBackendException
DataBackendException - if fail to connect to datasourceprotected PermissionManager getPermissionManager() throws DataBackendException
DataBackendException - if fail to connect to datasourceprotected RoleManager getRoleManager() throws DataBackendException
DataBackendException - if fail to connect to datasourceprotected GroupManager getGroupManager() throws DataBackendException
DataBackendException - if fail to connect to datasourcepublic void service(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceException - if fail to connectpublic void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposableprotected void release(Object obj)
obj - the object to releaseprotected Object resolve(String lookup) throws RuntimeException
lookup - the object to resolveRuntimeException - exception if fails to find the managerCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.