org.n52.wps.server
Class CapabilitiesConfiguration

java.lang.Object
  extended by org.n52.wps.server.CapabilitiesConfiguration

public class CapabilitiesConfiguration
extends java.lang.Object

This holds a copy of the capabilities skelton stored in the configuration directory.

Author:
foerster

Field Summary
static java.lang.String ENDPOINT_URL
           
static java.lang.String tempAmazonPublicIP
           
 
Method Summary
static java.lang.String getAmazonPublicIP()
           
static net.opengis.wps.x100.CapabilitiesDocument getInstance()
           
static net.opengis.wps.x100.CapabilitiesDocument getInstance(java.lang.String filePath)
          generates an instance of the capabilitiesSkeleton using the passed parameter as a path to the capabilitiesconfig file.
static boolean ready()
          allows to check if the capabilitiesSkeleton is available for use.
static void reloadSkeleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENDPOINT_URL

public static java.lang.String ENDPOINT_URL

tempAmazonPublicIP

public static java.lang.String tempAmazonPublicIP
Method Detail

getInstance

public static net.opengis.wps.x100.CapabilitiesDocument getInstance()
                                                             throws org.apache.xmlbeans.XmlException,
                                                                    java.io.IOException
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

getInstance

public static net.opengis.wps.x100.CapabilitiesDocument getInstance(java.lang.String filePath)
                                                             throws org.apache.xmlbeans.XmlException,
                                                                    java.io.IOException
generates an instance of the capabilitiesSkeleton using the passed parameter as a path to the capabilitiesconfig file. This has to be called first, oin order to get the class working correctly

Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

reloadSkeleton

public static void reloadSkeleton()
                           throws org.apache.xmlbeans.XmlException,
                                  java.io.IOException
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

ready

public static boolean ready()
allows to check if the capabilitiesSkeleton is available for use.

Returns:

getAmazonPublicIP

public static java.lang.String getAmazonPublicIP()


Copyright © 2007-2011 52north.org. All Rights Reserved.