public abstract class AbstractService extends java.lang.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 java.lang.String |
className
Mutually exclusive with 'provider'
|
protected java.lang.String |
classpath |
protected java.lang.String |
classpathAPI |
protected java.lang.String |
constructor
Mutually exclusive with 'provider'
|
protected java.lang.String |
factoryName
Mutually exclusive with 'provider'
|
protected java.lang.String |
id |
protected java.lang.String |
jar |
protected java.util.Properties |
properties |
protected java.lang.String |
provider |
protected java.lang.String |
type |
Modifier | Constructor and Description |
---|---|
protected |
AbstractService() |
protected |
AbstractService(java.lang.String id) |
protected |
AbstractService(java.lang.String id,
java.lang.String type) |
protected |
AbstractService(java.lang.String id,
java.lang.String type,
java.lang.String provider) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getClassName() |
java.lang.String |
getClasspath() |
java.lang.String |
getClasspathAPI() |
java.lang.String |
getConstructor() |
java.lang.String |
getFactoryName() |
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getJar()
Gets the value of the jar property.
|
java.util.Properties |
getProperties()
Gets the value of the properties property.
|
java.lang.String |
getPropertiesProvider() |
java.lang.String |
getProvider()
Gets the value of the provider property.
|
java.lang.String |
getTemplate() |
java.lang.String |
getType() |
int |
hashCode() |
void |
setClassName(java.lang.String className) |
void |
setClasspath(java.lang.String classpath) |
void |
setClasspathAPI(java.lang.String classpathAPI) |
void |
setConstructor(java.lang.String constructor) |
void |
setFactoryName(java.lang.String factoryName) |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setJar(java.lang.String value)
Sets the value of the jar property.
|
void |
setPropertiesProvider(java.lang.String propertiesProvider) |
void |
setProvider(java.lang.String value)
Sets the value of the provider property.
|
void |
setTemplate(java.lang.String template) |
void |
setType(java.lang.String type) |
protected java.util.Properties properties
protected java.lang.String id
protected java.lang.String jar
protected java.lang.String provider
protected java.lang.String type
protected java.lang.String classpath
protected java.lang.String classpathAPI
protected java.lang.String className
protected java.lang.String constructor
protected java.lang.String factoryName
protected AbstractService(java.lang.String id)
protected AbstractService(java.lang.String id, java.lang.String type)
protected AbstractService(java.lang.String id, java.lang.String type, java.lang.String provider)
protected AbstractService()
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);
getProperties
in interface Service
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getJar()
public void setJar(java.lang.String value)
public java.lang.String getProvider()
getProvider
in interface Service
String
public void setProvider(java.lang.String value)
setProvider
in interface Service
value
- allowed object is
String
public java.lang.String getClassName()
getClassName
in interface Service
public void setClassName(java.lang.String className)
public java.lang.String getClasspathAPI()
getClasspathAPI
in interface Service
public void setClasspathAPI(java.lang.String classpathAPI)
public java.lang.String getConstructor()
getConstructor
in interface Service
public void setConstructor(java.lang.String constructor)
public java.lang.String getFactoryName()
getFactoryName
in interface Service
public void setFactoryName(java.lang.String factoryName)
public java.lang.String getClasspath()
getClasspath
in interface Service
public void setClasspath(java.lang.String classpath)
setClasspath
in interface Service
public java.lang.String getTemplate()
getTemplate
in interface Service
public void setTemplate(java.lang.String template)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setPropertiesProvider(java.lang.String propertiesProvider)
public java.lang.String getPropertiesProvider()
getPropertiesProvider
in interface Service