org.apache.openejb.config.sys
Class ServiceProvider

java.lang.Object
  extended by org.apache.openejb.config.sys.ServiceProvider

public class ServiceProvider
extends java.lang.Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="class-name" type="{http://www.openejb.org/Service/Configuration}ClassName" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display-name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="provider-type" use="required" type="{http://www.openejb.org/Service/Configuration}ProviderTypes" />
       <attribute name="constructor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="factory-name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  java.lang.String className
           
protected  java.lang.String constructor
           
protected  java.lang.String description
           
protected  java.lang.String displayName
           
protected  java.lang.String factoryName
           
protected  java.lang.String id
           
protected  java.util.Properties properties
           
protected  java.lang.String service
           
protected  java.util.List<java.lang.String> types
           
 
Constructor Summary
ServiceProvider()
           
ServiceProvider(java.lang.Class clazz, java.lang.String id, java.lang.String service)
           
ServiceProvider(java.lang.String className, java.lang.String id, java.lang.String service)
           
 
Method Summary
 java.lang.String getClassName()
          Gets the value of the className property.
 java.lang.String getConstructor()
          Gets the value of the constructor property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getDisplayName()
          Gets the value of the displayName property.
 java.lang.String getFactoryName()
          Gets the value of the factoryName property.
 java.lang.String getId()
          Gets the value of the id property.
 java.util.Properties getProperties()
          Gets the value of the properties property.
 java.lang.String getService()
          Gets the value of the providerType property.
 java.util.List<java.lang.String> getTypes()
           
 void setClassName(java.lang.String value)
          Sets the value of the className property.
 void setConstructor(java.lang.String value)
          Sets the value of the constructor property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setDisplayName(java.lang.String value)
          Sets the value of the displayName property.
 void setFactoryName(java.lang.String value)
          Sets the value of the factoryName property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setService(java.lang.String value)
          Sets the value of the providerType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected java.util.Properties properties

className

protected java.lang.String className

constructor

protected java.lang.String constructor

description

protected java.lang.String description

displayName

protected java.lang.String displayName

factoryName

protected java.lang.String factoryName

id

protected java.lang.String id

service

protected java.lang.String service

types

protected java.util.List<java.lang.String> types
Constructor Detail

ServiceProvider

public ServiceProvider()

ServiceProvider

public ServiceProvider(java.lang.Class clazz,
                       java.lang.String id,
                       java.lang.String service)

ServiceProvider

public ServiceProvider(java.lang.String className,
                       java.lang.String id,
                       java.lang.String service)
Method Detail

getProperties

public java.util.Properties getProperties()
Gets the value of the properties property.

This accessor method returns a reference to the live Properties Object, not a snapshot. Therefore any modification you make to the returned Properties will be present inside the JAXB object. This is why there is not a set method for the properties property.

For example, to add a new value, do as follows:

    getProperties().setProperty(key, value);
 


getClassName

public java.lang.String getClassName()
Gets the value of the className property.

Returns:
possible object is String

setClassName

public void setClassName(java.lang.String value)
Sets the value of the className property.

Parameters:
value - allowed object is String

getConstructor

public java.lang.String getConstructor()
Gets the value of the constructor property.

Returns:
possible object is String

setConstructor

public void setConstructor(java.lang.String value)
Sets the value of the constructor property.

Parameters:
value - allowed object is String

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getDisplayName

public java.lang.String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(java.lang.String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

getFactoryName

public java.lang.String getFactoryName()
Gets the value of the factoryName property.

Returns:
possible object is String

setFactoryName

public void setFactoryName(java.lang.String value)
Sets the value of the factoryName property.

Parameters:
value - allowed object is String

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getService

public java.lang.String getService()
Gets the value of the providerType property.

Returns:
possible object is String

setService

public void setService(java.lang.String value)
Sets the value of the providerType property.

Parameters:
value - allowed object is String

getTypes

public java.util.List<java.lang.String> getTypes()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.