oracle.soap.server
Class ProviderDeploymentDescriptor

java.lang.Object
  |
  +--oracle.soap.server.ProviderDeploymentDescriptor
All Implemented Interfaces:
java.io.Serializable

public final class ProviderDeploymentDescriptor
extends java.lang.Object
implements java.io.Serializable

ProviderDeploymentDescriptor defines the deployment information for a specific provider. Different providers may be deployed using the same implementation and be distinguished only by their provider descriptor.

See Also:
Serialized Form

Constructor Summary
ProviderDeploymentDescriptor()
          Construct a new instance of a provider descriptor.
 
Method Summary
static ProviderDeploymentDescriptor fromXML(org.w3c.dom.Element root)
          Build a provider descriptor from the given document.
 java.lang.String getClassname()
          Returns the name of the class that implements this provider.
 java.lang.String getId()
          Returns the unique id for this provider.
 java.util.Hashtable getOptions()
          Get the provider-specific options.
 java.lang.String getProviderType()
          Returns the provider type.
 void setClassname(java.lang.String classname)
          Set the name of the class that implements this provider.
 void setId(java.lang.String id)
          Set the provider id.
 void setOptions(java.util.Hashtable options)
          Set the options.
 void setProviderType(java.lang.String providerType)
          Set the provider type.
 java.lang.String toString()
           
 void toXML(java.io.Writer pr)
          Write out the service deployment descriptor as XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProviderDeploymentDescriptor

public ProviderDeploymentDescriptor()
Construct a new instance of a provider descriptor.
Method Detail

setId

public void setId(java.lang.String id)
Set the provider id.
Parameters:
id - The unique provider id.

getId

public java.lang.String getId()
Returns the unique id for this provider.
Returns:
This provider's unique id.

setClassname

public void setClassname(java.lang.String classname)
Set the name of the class that implements this provider.
Parameters:
classname - The name of the implementing class.

getClassname

public java.lang.String getClassname()
Returns the name of the class that implements this provider.
Returns:
The classname.

setProviderType

public void setProviderType(java.lang.String providerType)
Set the provider type.
Parameters:
providerType - The provider type.

getProviderType

public java.lang.String getProviderType()
Returns the provider type.
Returns:
This provider's type.

setOptions

public void setOptions(java.util.Hashtable options)
Set the options.
Parameters:
options - The name-value pairs that represent the provider implementation-specific options for this service.

getOptions

public java.util.Hashtable getOptions()
Get the provider-specific options.
Returns:
The name-value pairs that represent the provider-specific options for this service.

fromXML

public static ProviderDeploymentDescriptor fromXML(org.w3c.dom.Element root)
Build a provider descriptor from the given document.
Parameters:
root - The root of the document that represents the XML provider descriptor.
Returns:
The ProviderDeploymentDescriptor for the given XML.

toXML

public void toXML(java.io.Writer pr)
Write out the service deployment descriptor as XML.
Parameters:
pr - The writer for the XML output.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001 Oracle SOAP. All Rights Reserved.