Interface IStoreConfig
- All Known Implementing Classes:
StoreConfig
public interface IStoreConfig
-
Method Summary
Modifier and TypeMethodDescriptionGet Configuration RegistryGet associated servervoidsetRegistry(StoreRegistry aRegistry) Set Configuration RegistryvoidSet associated servervoidstore(PrintWriter aWriter, int indent, Context aContext) Store the specified Context properties.voidstore(PrintWriter aWriter, int indent, Host aHost) Store the specified Host properties.voidstore(PrintWriter aWriter, int indent, Server aServer) Store the specified Server properties.voidstore(PrintWriter aWriter, int indent, Service aService) Store the specified Service properties.booleanStore the specified Context properties.booleanWrite the configuration information for this entireServerout to the server.xml configuration file.voidStore the current StoreFactory Server.
-
Method Details
-
getRegistry
StoreRegistry getRegistry()Get Configuration Registry- Returns:
- aRegistry that handle the store operations
-
setRegistry
Set Configuration Registry- Parameters:
aRegistry- aregistry that handle the store operations
-
getServer
-
setServer
-
storeConfig
void storeConfig()Store the current StoreFactory Server. -
store
Write the configuration information for this entireServerout to the server.xml configuration file.- Parameters:
aServer- Server instance- Returns:
trueif the store operation was successful
-
store
Store the specified Server properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaServer- Object to be stored- Throws:
Exception- Store error occurred
-
store
Store the specified Service properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaService- Object to be stored- Throws:
Exception- Store error occurred
-
store
Store the specified Host properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaHost- Object to be stored- Throws:
Exception- Store error occurred
-
store
Store the specified Context properties.- Parameters:
aContext- Object to be stored- Returns:
trueif the store operation was successful
-
store
Store the specified Context properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaContext- Object to be stored- Throws:
Exception- Store error occurred
-