Package org.apache.catalina.storeconfig
Interface IStoreConfig
-
- All Known Implementing Classes:
StoreConfig
public interface IStoreConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StoreRegistrygetRegistry()Get Configuration RegistryServergetServer()Get associated servervoidsetRegistry(StoreRegistry aRegistry)Set Configuration RegistryvoidsetServer(Server aServer)Set associated servervoidstore(java.io.PrintWriter aWriter, int indent, Context aContext)Store the specified Context properties.voidstore(java.io.PrintWriter aWriter, int indent, Host aHost)Store the specified Host properties.voidstore(java.io.PrintWriter aWriter, int indent, Server aServer)Store the specified Server properties.voidstore(java.io.PrintWriter aWriter, int indent, Service aService)Store the specified Service properties.booleanstore(Context aContext)Store the specified Context properties.booleanstore(Server aServer)Store the specified Server properties.voidstoreConfig()Store the current StoreFactory Server.
-
-
-
Method Detail
-
getRegistry
StoreRegistry getRegistry()
Get Configuration Registry- Returns:
- aRegistry that handle the store operations
-
setRegistry
void setRegistry(StoreRegistry aRegistry)
Set Configuration Registry- Parameters:
aRegistry- aregistry that handle the store operations
-
getServer
Server getServer()
Get associated server- Returns:
- aServer the associated server
-
setServer
void setServer(Server aServer)
Set associated server- Parameters:
aServer- the associated server
-
storeConfig
void storeConfig()
Store the current StoreFactory Server.
-
store
boolean store(Server aServer)
Store the specified Server properties.- Parameters:
aServer- Object to be stored- Returns:
trueif the store operation was successful
-
store
void store(java.io.PrintWriter aWriter, int indent, Server aServer) throws java.lang.ExceptionStore the specified Server properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaServer- Object to be stored- Throws:
java.lang.Exception- Store error occurred
-
store
void store(java.io.PrintWriter aWriter, int indent, Service aService) throws java.lang.ExceptionStore the specified Service properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaService- Object to be stored- Throws:
java.lang.Exception- Store error occurred
-
store
void store(java.io.PrintWriter aWriter, int indent, Host aHost) throws java.lang.ExceptionStore the specified Host properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaHost- Object to be stored- Throws:
java.lang.Exception- Store error occurred
-
store
boolean store(Context aContext)
Store the specified Context properties.- Parameters:
aContext- Object to be stored- Returns:
trueif the store operation was successful
-
store
void store(java.io.PrintWriter aWriter, int indent, Context aContext) throws java.lang.ExceptionStore the specified Context properties.- Parameters:
aWriter- PrintWriter to which we are storingindent- Number of spaces to indent this elementaContext- Object to be stored- Throws:
java.lang.Exception- Store error occurred
-
-