|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.config.sys.AbstractService
public abstract class AbstractService
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>
| Field Summary | |
|---|---|
protected String |
id
|
protected String |
jar
|
protected Properties |
properties
|
protected String |
provider
|
protected String |
type
|
| Constructor Summary | |
|---|---|
protected |
AbstractService()
|
protected |
AbstractService(String id)
|
protected |
AbstractService(String id,
String type)
|
protected |
AbstractService(String id,
String type,
String provider)
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
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 |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Properties properties
protected String id
protected String jar
protected String provider
protected String type
| Constructor Detail |
|---|
protected AbstractService(String id)
protected AbstractService(String id,
String type)
protected AbstractService(String id,
String type,
String provider)
protected AbstractService()
| Method Detail |
|---|
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()
getId in interface ServiceStringpublic void setId(String value)
setId in interface Servicevalue - allowed object is
Stringpublic String getJar()
getJar in interface ServiceStringpublic void setJar(String value)
setJar in interface Servicevalue - allowed object is
Stringpublic String getProvider()
getProvider in interface ServiceStringpublic void setProvider(String value)
setProvider in interface Servicevalue - allowed object is
Stringpublic String getType()
getType in interface Servicepublic void setType(String type)
setType in interface Servicepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||