|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.config.AbstractBasicResourceManager
org.deegree.commons.config.AbstractResourceManager<OWS>
org.deegree.services.controller.WebServicesConfiguration
public class WebServicesConfiguration
ExtendedResourceManager for OWS (and web service configuration).
| Field Summary |
|---|
| Fields inherited from class org.deegree.commons.config.AbstractResourceManager |
|---|
name, nsToProvider |
| Fields inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
|---|
dir, idToState, workspace |
| Constructor Summary | |
|---|---|
WebServicesConfiguration()
|
|
| Method Summary | |
|---|---|
protected void |
add(OWS ows)
Called when a new Resource has been successfully initialized. |
Map<String,List<OWS>> |
getAll()
Return all active OWS. |
List<OWS> |
getByOWSClass(Class<?> c)
Returns the service controller instance based on the class of the service controller. |
List<OWS> |
getByRequestName(String requestName)
Returns the OWS instance that is responsible for handling requests with a certain name, e.g. |
List<OWS> |
getByRequestNS(String ns)
Determines the OWS instance that is responsible for handling XML requests in the given namespace. |
List<OWS> |
getByServiceType(String serviceType)
Returns the OWS instance that is responsible for handling requests to a certain service type, e.g. |
Class<? extends ResourceManager>[] |
getDependencies()
|
DeegreeServiceControllerType |
getMainConfiguration()
|
ResourceManagerMetadata |
getMetadata()
|
DeegreeServicesMetadataType |
getMetadataConfiguration()
|
RequestLogger |
getRequestLogger()
|
DeegreeWorkspace |
getWorkspace()
|
void |
initMetadata(DeegreeWorkspace workspace)
Initializes the metadata (can be used to scan for resource providers, important so transitive dependencies work). |
boolean |
logOnlySuccessful()
|
protected void |
remove(OWS ows)
Called when a formerly active Resource is going to be destroyed. |
void |
shutdown()
Is called upon workspace shutdown. |
void |
startup(DeegreeWorkspace workspace)
Is called upon workspace startup. |
| Methods inherited from class org.deegree.commons.config.AbstractResourceManager |
|---|
activate, create, deactivate, get, getProvider, processResourceConfig, remove |
| Methods inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
|---|
createResource, deleteResource, getState, getStates, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.commons.config.ResourceManager |
|---|
createResource, deleteResource, getState, getStates |
| Constructor Detail |
|---|
public WebServicesConfiguration()
| Method Detail |
|---|
public void initMetadata(DeegreeWorkspace workspace)
ExtendedResourceManager
public void startup(DeegreeWorkspace workspace)
throws ResourceInitException
ResourceManager
startup in interface ResourceManagerstartup in class AbstractResourceManager<OWS>ResourceInitExceptionpublic List<OWS> getByServiceType(String serviceType)
OWS instance that is responsible for handling requests to a certain service type, e.g. WMS,
WFS.
serviceType - service type code, e.g. "WMS" or "WFS"
OWS or null, if no responsible service was foundpublic List<OWS> getByRequestName(String requestName)
OWS instance that is responsible for handling requests with a certain name, e.g. GetMap,
GetFeature.
requestName - request name, e.g. "GetMap" or "GetFeature"
OWS or null, if no responsible service was foundpublic List<OWS> getByRequestNS(String ns)
OWS instance that is responsible for handling XML requests in the given namespace.
ns - XML namespace
OWS or null, if no responsible service was foundpublic Map<String,List<OWS>> getAll()
OWS.
public List<OWS> getByOWSClass(Class<?> c)
c - class of the requested service controller, e.g. WPSController.getClass()
public void shutdown()
ResourceManager
shutdown in interface ResourceManagershutdown in class AbstractResourceManager<OWS>public DeegreeServiceControllerType getMainConfiguration()
public DeegreeServicesMetadataType getMetadataConfiguration()
public RequestLogger getRequestLogger()
public boolean logOnlySuccessful()
public Class<? extends ResourceManager>[] getDependencies()
public DeegreeWorkspace getWorkspace()
public ResourceManagerMetadata getMetadata()
protected void add(OWS ows)
AbstractResourceManagerResource has been successfully initialized.
add in class AbstractResourceManager<OWS>protected void remove(OWS ows)
AbstractResourceManagerResource is going to be destroyed.
remove in class AbstractResourceManager<OWS>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||