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>
| Modifier and Type | Field and Description |
|---|---|
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.lang.String |
parent |
protected java.util.Properties |
properties |
protected java.lang.String |
service |
protected java.util.List<java.lang.String> |
types |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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.lang.String |
getParent() |
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 |
setParent(java.lang.String parent) |
void |
setService(java.lang.String value)
Sets the value of the providerType property.
|
java.lang.String |
toString() |
protected java.util.Properties properties
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.lang.String service
protected java.util.List<java.lang.String> types
protected java.lang.String parent
public ServiceProvider()
public ServiceProvider(java.lang.Class clazz,
java.lang.String id,
java.lang.String service)
public ServiceProvider(java.lang.String className,
java.lang.String id,
java.lang.String service)
public java.util.Properties getProperties()
set method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
public java.lang.String getClassName()
Stringpublic void setClassName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getConstructor()
Stringpublic void setConstructor(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDisplayName()
Stringpublic void setDisplayName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getFactoryName()
Stringpublic void setFactoryName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getService()
Stringpublic void setService(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.String> getTypes()
public java.lang.String getParent()
public void setParent(java.lang.String parent)
public java.lang.String toString()
toString in class java.lang.Object