org.openejb.alt.config.sys
Class ServiceProvider

java.lang.Object
  extended by org.openejb.alt.config.sys.ServiceProvider
All Implemented Interfaces:
java.io.Serializable

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

Class ServiceProvider.

Version:
$Revision: 1105 $ $Date: 2004-03-30 16:45:22 -0800 (Tue, 30 Mar 2004) $
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()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 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 java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method 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()
Method isValid


marshal

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

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

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 java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.