org.jboss.soa.esb.actions.soap
Class SchemaDeployerImpl
java.lang.Object
org.jboss.soa.esb.actions.soap.SchemaDeployerImpl
- All Implemented Interfaces:
- SchemaDeployer
public class SchemaDeployerImpl
- extends java.lang.Object
- implements SchemaDeployer
|
Method Summary |
java.lang.String |
deploy(java.lang.String location,
java.lang.String soapAddress)
|
protected java.lang.String |
extractXSDFile(java.net.URL url)
|
java.lang.String |
getEsbContext()
|
java.util.Map<java.lang.String,java.lang.String> |
getResources()
|
java.lang.String |
getTempDirectory()
Find the temp directory from the ServerConfig bean |
protected java.lang.String |
getXSDString(java.net.URL url,
java.io.File tempFile)
Get the XSD content from an URL and store it in a String. |
void |
setEsbContext(java.lang.String esbContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaDeployerImpl
public SchemaDeployerImpl()
getResources
public java.util.Map<java.lang.String,java.lang.String> getResources()
- Specified by:
getResources in interface SchemaDeployer
getEsbContext
public java.lang.String getEsbContext()
- Specified by:
getEsbContext in interface SchemaDeployer
setEsbContext
public void setEsbContext(java.lang.String esbContext)
- Specified by:
setEsbContext in interface SchemaDeployer
getTempDirectory
public java.lang.String getTempDirectory()
- Find the temp directory from the ServerConfig bean
- Returns:
getXSDString
protected java.lang.String getXSDString(java.net.URL url,
java.io.File tempFile)
throws java.io.IOException
- Get the XSD content from an URL and store it in a String.
- Parameters:
url - tempFile -
- Returns:
-
- Throws:
java.io.IOException
extractXSDFile
protected java.lang.String extractXSDFile(java.net.URL url)
deploy
public java.lang.String deploy(java.lang.String location,
java.lang.String soapAddress)
- Specified by:
deploy in interface SchemaDeployer