public abstract class BaseServiceImpl extends org.apache.avalon.framework.logger.AbstractLogEnabled implements BaseService
| Constructor and Description |
|---|
BaseServiceImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration) |
void |
contextualize(org.apache.avalon.framework.context.Context context) |
protected java.io.File |
createAbsoluteFile(java.lang.String fileName)
Determines the absolute file based on the application directory
|
protected java.lang.String |
createAbsolutePath(java.lang.String fileName)
Determines the absolute path based on the application directory
|
void |
dispose() |
protected java.io.File |
getServiceApplicationDir() |
protected java.lang.ClassLoader |
getServiceClassLoader() |
protected org.apache.avalon.framework.configuration.Configuration |
getServiceConfiguration() |
protected org.apache.avalon.framework.context.Context |
getServiceContext() |
protected org.apache.avalon.framework.service.ServiceManager |
getServiceManager() |
protected java.lang.String |
getServiceName() |
protected org.apache.avalon.framework.parameters.Parameters |
getServiceParameters() |
protected java.lang.String |
getServicePartitionName() |
protected java.io.File |
getServiceTempDir() |
protected boolean |
hasService(java.lang.String key) |
protected java.lang.Object |
lookup(java.lang.String key) |
void |
parameterize(org.apache.avalon.framework.parameters.Parameters parameters) |
void |
reconfigure(org.apache.avalon.framework.configuration.Configuration configuration) |
protected void |
release(java.lang.Object object) |
void |
service(org.apache.avalon.framework.service.ServiceManager serviceManager) |
java.lang.String |
toString() |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
contextualize in interface org.apache.avalon.framework.context.Contextualizableorg.apache.avalon.framework.context.ContextExceptionContextualizable.contextualize(org.apache.avalon.framework.context.Context)public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(org.apache.avalon.framework.configuration.Configuration)public void parameterize(org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.avalon.framework.parameters.ParameterException
parameterize in interface org.apache.avalon.framework.parameters.Parameterizableorg.apache.avalon.framework.parameters.ParameterExceptionParameterizable.parameterize(org.apache.avalon.framework.parameters.Parameters)public void reconfigure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
reconfigure in interface org.apache.avalon.framework.configuration.Reconfigurableorg.apache.avalon.framework.configuration.ConfigurationExceptionReconfigurable.reconfigure(org.apache.avalon.framework.configuration.Configuration)public void dispose()
dispose in interface org.apache.avalon.framework.activity.DisposableDisposable.dispose()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()protected boolean hasService(java.lang.String key)
ServiceManager.hasService(java.lang.String)protected java.lang.Object lookup(java.lang.String key)
ServiceManager.lookup(java.lang.String)protected void release(java.lang.Object object)
ServiceManager.release(java.lang.Object)protected java.io.File createAbsoluteFile(java.lang.String fileName)
fileName - the filenameprotected java.lang.String createAbsolutePath(java.lang.String fileName)
fileName - the filenameprotected java.io.File getServiceApplicationDir()
protected java.lang.ClassLoader getServiceClassLoader()
protected org.apache.avalon.framework.configuration.Configuration getServiceConfiguration()
protected org.apache.avalon.framework.context.Context getServiceContext()
protected org.apache.avalon.framework.service.ServiceManager getServiceManager()
protected java.lang.String getServiceName()
protected org.apache.avalon.framework.parameters.Parameters getServiceParameters()
protected java.lang.String getServicePartitionName()
protected java.io.File getServiceTempDir()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.