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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
className |
protected String |
constructor |
protected String |
description |
protected String |
displayName |
protected String |
factoryName |
protected String |
id |
protected String |
parent |
protected Properties |
properties |
protected String |
service |
protected List<String> |
types |
| Constructor and Description |
|---|
ServiceProvider() |
ServiceProvider(Class clazz,
String id,
String service) |
ServiceProvider(String className,
String id,
String service) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getParent() |
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 |
setParent(String parent) |
void |
setService(String value)
Sets the value of the providerType property.
|
String |
toString() |
protected Properties properties
protected String className
protected String constructor
protected String description
protected String displayName
protected String factoryName
protected String id
protected String service
protected String parent
public Properties getProperties()
set method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
public String getClassName()
Stringpublic void setClassName(String value)
value - allowed object is
Stringpublic String getConstructor()
Stringpublic void setConstructor(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic String getFactoryName()
Stringpublic void setFactoryName(String value)
value - allowed object is
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getService()
Stringpublic void setService(String value)
value - allowed object is
Stringpublic String getParent()
public void setParent(String parent)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.