|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.beans.IdentifiedType
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.TbaseService
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.Tservice
public class Tservice
Exports the reference bean as a service in the OSGi service registry. The bean defined by this element is of type org.osgi.framework.ServiceRegistration.
Java class for Tservice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Tservice">
<complexContent>
<extension base="{http://www.springframework.org/schema/osgi}TbaseService">
<sequence minOccurs="0">
<element name="interfaces" type="{http://www.springframework.org/schema/beans}listOrSetType" minOccurs="0"/>
<element name="registration-listener" type="{http://www.springframework.org/schema/osgi}TserviceRegistrationListener" maxOccurs="unbounded" minOccurs="0"/>
<element name="service-properties" type="{http://www.springframework.org/schema/beans}mapType" minOccurs="0"/>
<any processContents='skip' namespace='##other' minOccurs="0"/>
</sequence>
<attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ranking" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Element |
any
|
protected ListOrSetType |
interfaces
|
protected Integer |
ranking
|
protected String |
ref
|
protected List<TserviceRegistrationListener> |
registrationListener
|
protected MapType |
serviceProperties
|
| Fields inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.TbaseService |
|---|
_interface, autoExport, contextClassLoader, dependsOn |
| Fields inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.beans.IdentifiedType |
|---|
id |
| Constructor Summary | |
|---|---|
Tservice()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.Tservice instance. |
|
Tservice(Tservice o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.Tservice instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Tservice |
clone()
Creates and returns a copy of this object. |
Element |
getAny()
Gets the value of the any property. |
ListOrSetType |
getInterfaces()
Gets the value of the interfaces property. |
int |
getRanking()
Gets the value of the ranking property. |
String |
getRef()
Gets the value of the ref property. |
List<TserviceRegistrationListener> |
getRegistrationListener()
Gets the value of the registrationListener property. |
MapType |
getServiceProperties()
Gets the value of the serviceProperties property. |
void |
setAny(Element value)
Sets the value of the any property. |
void |
setInterfaces(ListOrSetType value)
Sets the value of the interfaces property. |
void |
setRanking(Integer value)
Sets the value of the ranking property. |
void |
setRef(String value)
Sets the value of the ref property. |
void |
setServiceProperties(MapType value)
Sets the value of the serviceProperties property. |
| Methods inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.TbaseService |
|---|
getAutoExport, getContextClassLoader, getDependsOn, getInterface, setAutoExport, setContextClassLoader, setDependsOn, setInterface |
| Methods inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.beans.IdentifiedType |
|---|
getId, setId |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ListOrSetType interfaces
protected List<TserviceRegistrationListener> registrationListener
protected MapType serviceProperties
protected Element any
protected String ref
protected Integer ranking
| Constructor Detail |
|---|
public Tservice()
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.Tservice instance.
public Tservice(Tservice o)
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.spring.osgi.Tservice instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public ListOrSetType getInterfaces()
ListOrSetTypepublic void setInterfaces(ListOrSetType value)
value - allowed object is
ListOrSetTypepublic List<TserviceRegistrationListener> getRegistrationListener()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the registrationListener property.
For example, to add a new item, do as follows:
getRegistrationListener().add(newItem);
Objects of the following type(s) are allowed in the list
TserviceRegistrationListener
public MapType getServiceProperties()
MapTypepublic void setServiceProperties(MapType value)
value - allowed object is
MapTypepublic Element getAny()
Elementpublic void setAny(Element value)
value - allowed object is
Elementpublic String getRef()
Stringpublic void setRef(String value)
value - allowed object is
Stringpublic int getRanking()
Integerpublic void setRanking(Integer value)
value - allowed object is
Integerpublic Tservice clone()
clone in class TbaseService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||