org.openejb.config.sys
Class ServiceProvider

java.lang.Object
  extended byorg.openejb.config.sys.ServiceProvider
All Implemented Interfaces:
Serializable

public class ServiceProvider
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
See Also:
Serialized Form

Constructor Summary
ServiceProvider()
           
 
Method Summary
 String getClassName()
          Returns the value of field 'className'.
 String getContent()
          Returns the value of field 'content'.
 String getDescription()
          Returns the value of field 'description'.
 String getDisplayName()
          Returns the value of field 'displayName'.
 String getId()
          Returns the value of field 'id'.
 Lookup getLookup()
          Returns the value of field 'lookup'.
 PropertiesFile getPropertiesFile()
          Returns the value of field 'propertiesFile'.
 String getProviderType()
          Returns the value of field 'providerType'.
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setClassName(String className)
          Sets the value of field 'className'.
 void setContent(String content)
          Sets the value of field 'content'.
 void setDescription(String description)
          Sets the value of field 'description'.
 void setDisplayName(String displayName)
          Sets the value of field 'displayName'.
 void setId(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(String providerType)
          Sets the value of field 'providerType'.
static ServiceProvider unmarshal(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 String getClassName()
Returns the value of field 'className'.

Returns:
the value of field 'className'.

getContent

public 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 String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getDisplayName

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

Returns:
the value of field 'displayName'.

getId

public 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 String getProviderType()
Returns the value of field 'providerType'.

Returns:
the value of field 'providerType'.

isValid

public boolean isValid()

marshal

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

marshal

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

setClassName

public void setClassName(String className)
Sets the value of field 'className'.

Parameters:
className - the value of field 'className'.

setContent

public void setContent(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(String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setDisplayName

public void setDisplayName(String displayName)
Sets the value of field 'displayName'.

Parameters:
displayName - the value of field 'displayName'.

setId

public void setId(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(String providerType)
Sets the value of field 'providerType'.

Parameters:
providerType - the value of field 'providerType'.

unmarshal

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

validate

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


Copyright © 1999-2005 OpenEJB. All Rights Reserved.