org.openejb.alt.config.sys
Class ServiceProvider

java.lang.Object
  |
  +--org.openejb.alt.config.sys.ServiceProvider
All Implemented Interfaces:
java.io.Serializable

public class ServiceProvider
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.3 $ $Date: 2002/03/12 20:49:50 $
See Also:
Serialized Form

Constructor Summary
ServiceProvider()
           
 
Method Summary
 java.lang.String getClassName()
          Returns the value of field 'className'.
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.String getDescription()
          Returns the value of field 'description'.
 java.lang.String getDisplayName()
          Returns the value of field 'displayName'.
 java.lang.String getId()
          Returns the value of field 'id'.
 Lookup getLookup()
          Returns the value of field 'lookup'.
 PropertiesFile getPropertiesFile()
          Returns the value of field 'propertiesFile'.
 java.lang.String getProviderType()
          Returns the value of field 'providerType'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setClassName(java.lang.String className)
          Sets the value of field 'className'.
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setDisplayName(java.lang.String displayName)
          Sets the value of field 'displayName'.
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setLookup(Lookup lookup)
          Sets the value of field 'lookup'.
 void setPropertiesFile(PropertiesFile propertiesFile)
          Sets the value of field 'propertiesFile'.
 void setProviderType(java.lang.String providerType)
          Sets the value of field 'providerType'.
static ServiceProvider unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProvider

public ServiceProvider()
Method Detail

getClassName

public java.lang.String getClassName()
Returns the value of field 'className'.
Returns:
the value of field 'className'.

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage
Returns:
the value of field 'content'.

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.
Returns:
the value of field 'description'.

getDisplayName

public java.lang.String getDisplayName()
Returns the value of field 'displayName'.
Returns:
the value of field 'displayName'.

getId

public java.lang.String getId()
Returns the value of field 'id'.
Returns:
the value of field 'id'.

getLookup

public Lookup getLookup()
Returns the value of field 'lookup'.
Returns:
the value of field 'lookup'.

getPropertiesFile

public PropertiesFile getPropertiesFile()
Returns the value of field 'propertiesFile'.
Returns:
the value of field 'propertiesFile'.

getProviderType

public java.lang.String getProviderType()
Returns the value of field 'providerType'.
Returns:
the value of field 'providerType'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'.
Parameters:
className - the value of field 'className'.

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage
Parameters:
content - the value of field 'content'.

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.
Parameters:
description - the value of field 'description'.

setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets the value of field 'displayName'.
Parameters:
displayName - the value of field 'displayName'.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.
Parameters:
id - the value of field 'id'.

setLookup

public void setLookup(Lookup lookup)
Sets the value of field 'lookup'.
Parameters:
lookup - the value of field 'lookup'.

setPropertiesFile

public void setPropertiesFile(PropertiesFile propertiesFile)
Sets the value of field 'propertiesFile'.
Parameters:
propertiesFile - the value of field 'propertiesFile'.

setProviderType

public void setProviderType(java.lang.String providerType)
Sets the value of field 'providerType'.
Parameters:
providerType - the value of field 'providerType'.

unmarshal

public static ServiceProvider unmarshal(java.io.Reader reader)
                                 throws org.exolab.castor.xml.MarshalException,
                                        org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException