public abstract class AbstractService extends Object implements Service
Java class for Service complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Service">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="jar" type="{http://www.openejb.org/System/Configuration}JarFileLocation" />
<attribute name="provider" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
className
Mutually exclusive with 'provider'
|
protected String |
classpath |
protected String |
constructor
Mutually exclusive with 'provider'
|
protected String |
factoryName
Mutually exclusive with 'provider'
|
protected String |
id |
protected String |
jar |
protected Properties |
properties |
protected String |
provider |
protected String |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractService() |
protected |
AbstractService(String id) |
protected |
AbstractService(String id,
String type) |
protected |
AbstractService(String id,
String type,
String provider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getClassName() |
String |
getClasspath() |
String |
getConstructor() |
String |
getFactoryName() |
String |
getId()
Gets the value of the id property.
|
String |
getJar()
Gets the value of the jar property.
|
Properties |
getProperties()
Gets the value of the properties property.
|
String |
getProvider()
Gets the value of the provider property.
|
String |
getType() |
int |
hashCode() |
void |
setClassName(String className) |
void |
setClasspath(String classpath) |
void |
setConstructor(String constructor) |
void |
setFactoryName(String factoryName) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setJar(String value)
Sets the value of the jar property.
|
void |
setProvider(String value)
Sets the value of the provider property.
|
void |
setType(String type) |
protected Properties properties
protected String id
protected String jar
protected String provider
protected String type
protected String classpath
protected String className
protected String constructor
protected String factoryName
protected AbstractService(String id)
protected AbstractService()
public Properties getProperties()
set method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
getProperties in interface Servicepublic String getId()
public void setId(String value)
public String getJar()
public void setJar(String value)
public String getProvider()
getProvider in interface ServiceStringpublic void setProvider(String value)
setProvider in interface Servicevalue - allowed object is
Stringpublic String getClassName()
getClassName in interface Servicepublic void setClassName(String className)
public String getConstructor()
getConstructor in interface Servicepublic void setConstructor(String constructor)
public String getFactoryName()
getFactoryName in interface Servicepublic void setFactoryName(String factoryName)
public String getClasspath()
getClasspath in interface Servicepublic void setClasspath(String classpath)
setClasspath in interface ServiceCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.