public class ServiceContainerConfiguration
extends java.lang.Object
Constructor and Description |
---|
ServiceContainerConfiguration()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addToContext(java.util.Hashtable hashtable)
Add a hashtable to the context
|
void |
addToContext(java.lang.String name,
java.lang.Object value)
Add a new entry to the context by creating a new one.
|
org.apache.avalon.framework.configuration.Configuration |
createFinalConfiguration()
Create a final configuration.
|
org.apache.avalon.framework.context.Context |
createFinalContext()
Create the final Avalon context passed to YAAFI containing
user-supplied context
urn:avalon:home
urn:avalon:temp
urn:avalon:name
urn:avalon:partition
urn:avalon:classloader
|
org.apache.avalon.framework.logger.Logger |
getLogger() |
void |
loadContainerConfiguration(java.lang.String location)
Loads a containerConfiguration file and set is as the Avalon
configuration to be used for Configurable.configure().
|
void |
loadContainerConfiguration(java.lang.String location,
java.lang.String isEncrypted)
Loads a containerConfiguration file and set is as the Avalon
configuration to be used for Configurable.configure().
|
void |
setApplicationRootDir(java.lang.String applicationRootDir) |
void |
setComponentClassLoader(java.lang.ClassLoader componentClassLoader) |
void |
setComponentConfigurationEncrypted(java.lang.String isComponentConfigurationEncrypted) |
void |
setComponentConfigurationLocation(java.lang.String componentConfigurationLocation) |
void |
setComponentRolesEncrypted(java.lang.String isComponentRolesEncrypted) |
void |
setComponentRolesLocation(java.lang.String componentRolesLocation) |
void |
setContainerConfiguration(org.apache.avalon.framework.configuration.Configuration containerConfiguration) |
void |
setContainerFlavour(java.lang.String containerFlavour) |
void |
setContext(org.apache.avalon.framework.context.Context context) |
void |
setLogger(org.apache.avalon.framework.logger.Logger logger) |
void |
setParametersEncrypted(java.lang.String isParametersEncrypted) |
void |
setParametersLocation(java.lang.String parametersLocation) |
void |
setTempRootDir(java.lang.String tempRootDir) |
public void addToContext(java.lang.String name, java.lang.Object value)
name
- the name of the new entryvalue
- the value of the new entrypublic void addToContext(java.util.Hashtable hashtable)
hashtable
- the Hashtable to be addedpublic org.apache.avalon.framework.context.Context createFinalContext()
public org.apache.avalon.framework.configuration.Configuration createFinalConfiguration()
public void setComponentConfigurationLocation(java.lang.String componentConfigurationLocation)
componentConfigurationLocation
- The componentConfigurationLocation to set.public void setComponentRolesLocation(java.lang.String componentRolesLocation)
componentRolesLocation
- The componentRolesLocation to set.public void setContext(org.apache.avalon.framework.context.Context context)
context
- The context to set.public void setComponentConfigurationEncrypted(java.lang.String isComponentConfigurationEncrypted)
isComponentConfigurationEncrypted
- The isComponentConfigurationEncrypted to set.public void setComponentRolesEncrypted(java.lang.String isComponentRolesEncrypted)
isComponentRolesEncrypted
- The isComponentRolesEncrypted to set.public void setParametersEncrypted(java.lang.String isParametersEncrypted)
isParametersEncrypted
- The isParametersEncrypted to set.public org.apache.avalon.framework.logger.Logger getLogger()
public void setLogger(org.apache.avalon.framework.logger.Logger logger)
logger
- The logger to set.public void setParametersLocation(java.lang.String parametersLocation)
parametersLocation
- The parametersLocation to set.public void setApplicationRootDir(java.lang.String applicationRootDir)
applicationRootDir
- The applicationRootDir to set.public void setTempRootDir(java.lang.String tempRootDir)
tempRootDir
- The tempRootDir to set.public void setComponentClassLoader(java.lang.ClassLoader componentClassLoader)
componentClassLoader
- The classLoader to set.public void setContainerFlavour(java.lang.String containerFlavour)
containerFlavour
- The containerFlavour to set.public void setContainerConfiguration(org.apache.avalon.framework.configuration.Configuration containerConfiguration)
containerConfiguration
- The containerConfiguration to set.public void loadContainerConfiguration(java.lang.String location) throws java.io.IOException
location
- the location of the containerConfigurationjava.io.IOException
- loading the configuration failedpublic void loadContainerConfiguration(java.lang.String location, java.lang.String isEncrypted) throws java.io.IOException
location
- the location of the containerConfigurationisEncrypted
- is the file encryptedjava.io.IOException
- loading the configuration failedCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.