org.apache.openejb.config.sys
Class ServiceProvider

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

public class ServiceProvider
extends 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  String className
           
protected  String constructor
           
protected  String description
           
protected  String displayName
           
protected  String factoryName
           
protected  String id
           
protected  Properties properties
           
protected  String service
           
protected  List<String> types
           
 
Constructor Summary
ServiceProvider()
           
ServiceProvider(Class clazz, String id, String service)
           
ServiceProvider(String className, String id, String service)
           
 
Method Summary
 String getClassName()
          Gets the value of the className property.
 String getConstructor()
          Gets the value of the constructor property.
 String getDescription()
          Gets the value of the description property.
 String getDisplayName()
          Gets the value of the displayName property.
 String getFactoryName()
          Gets the value of the factoryName property.
 String getId()
          Gets the value of the id property.
 Properties getProperties()
          Gets the value of the properties property.
 String getService()
          Gets the value of the providerType property.
 List<String> getTypes()
           
 void setClassName(String value)
          Sets the value of the className property.
 void setConstructor(String value)
          Sets the value of the constructor property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setFactoryName(String value)
          Sets the value of the factoryName property.
 void setId(String value)
          Sets the value of the id property.
 void setService(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 Properties properties

className

protected String className

constructor

protected String constructor

description

protected String description

displayName

protected String displayName

factoryName

protected String factoryName

id

protected String id

service

protected String service

types

protected List<String> types
Constructor Detail

ServiceProvider

public ServiceProvider()

ServiceProvider

public ServiceProvider(Class clazz,
                       String id,
                       String service)

ServiceProvider

public ServiceProvider(String className,
                       String id,
                       String service)
Method Detail

getProperties

public 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 String getClassName()
Gets the value of the className property.

Returns:
possible object is String

setClassName

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

Parameters:
value - allowed object is String

getConstructor

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

Returns:
possible object is String

setConstructor

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

Parameters:
value - allowed object is String

getDescription

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

Returns:
possible object is String

setDescription

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

Parameters:
value - allowed object is String

getDisplayName

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

Returns:
possible object is String

setDisplayName

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

Parameters:
value - allowed object is String

getFactoryName

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

Returns:
possible object is String

setFactoryName

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

Parameters:
value - allowed object is String

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

getService

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

Returns:
possible object is String

setService

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

Parameters:
value - allowed object is String

getTypes

public List<String> getTypes()


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