|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.soap.server.DeploymentDescriptor
This class represents the deployment information about a SOAP service.
Field Summary | |
static byte |
PROVIDER_JAVA
|
static byte |
PROVIDER_SCRIPT_FILE
|
static byte |
PROVIDER_SCRIPT_STRING
|
static int |
SCOPE_APPLICATION
|
static int |
SCOPE_PAGE
|
static int |
SCOPE_REQUEST
|
static int |
SCOPE_SESSION
|
Constructor Summary | |
DeploymentDescriptor()
Constructor. |
Method Summary | |
static SOAPMappingRegistry |
buildSOAPMappingRegistry(DeploymentDescriptor dd)
Utility to generate an XML serialization registry from all the type mappings registered into a deployment descriptor. |
static DeploymentDescriptor |
fromXML(org.w3c.dom.Element root)
Build a deployment descriptor from a document corresponding to the deployment descriptor DTD. |
java.lang.String |
getID()
|
boolean |
getIsStatic()
|
TypeMapping[] |
getMappings()
Return the registered mappings. |
java.lang.String[] |
getMethods()
|
java.lang.String |
getProviderClass()
|
byte |
getProviderType()
|
int |
getScope()
|
java.lang.String |
getScriptFilenameOrString()
|
java.lang.String |
getScriptLanguage()
|
void |
setID(java.lang.String id)
ID of this service. |
void |
setIsStatic(boolean isStatic)
For Java providers, is it static or not. |
void |
setMappings(TypeMapping[] mappings)
Type mappings between XML types of certain encodings and Java types. |
void |
setMethods(java.lang.String[] methods)
Methods provided by the service. |
void |
setProviderClass(java.lang.String providerClass)
For Java providers, the class providing the service. |
void |
setProviderType(byte providerType)
Type of provider. |
void |
setScope(int scope)
Lifecyle of the object providing the service. |
void |
setScriptFilenameOrString(java.lang.String scriptFilenameOrString)
|
void |
setScriptLanguage(java.lang.String scriptLanguage)
|
java.lang.String |
toString()
What do u think this does? |
void |
toXML(java.io.Writer pr)
Write out the deployment descriptor according to the the deployment descriptor DTD. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int SCOPE_PAGE
public static final int SCOPE_REQUEST
public static final int SCOPE_SESSION
public static final int SCOPE_APPLICATION
public static final byte PROVIDER_JAVA
public static final byte PROVIDER_SCRIPT_FILE
public static final byte PROVIDER_SCRIPT_STRING
Constructor Detail |
public DeploymentDescriptor()
id
- the name of the service. Should be of valid URI syntax.Method Detail |
public void setID(java.lang.String id)
public java.lang.String getID()
public void setScope(int scope)
public int getScope()
public void setMethods(java.lang.String[] methods)
public java.lang.String[] getMethods()
public void setProviderType(byte providerType)
public byte getProviderType()
public void setProviderClass(java.lang.String providerClass)
public java.lang.String getProviderClass()
public void setIsStatic(boolean isStatic)
public boolean getIsStatic()
public void setScriptLanguage(java.lang.String scriptLanguage)
public java.lang.String getScriptLanguage()
public void setScriptFilenameOrString(java.lang.String scriptFilenameOrString)
public java.lang.String getScriptFilenameOrString()
public void setMappings(TypeMapping[] mappings)
map
- the structure containing the mapping infopublic TypeMapping[] getMappings()
public void toXML(java.io.Writer pr)
public static DeploymentDescriptor fromXML(org.w3c.dom.Element root)
public java.lang.String toString()
public static SOAPMappingRegistry buildSOAPMappingRegistry(DeploymentDescriptor dd)
dd
- the deployment descriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |