|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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>
| Method Summary | |
|---|---|
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 interface net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.osgi.TbaseService |
|---|
getAutoExport, getContextClassLoader, getDependsOn, getInterface, setAutoExport, setContextClassLoader, setDependsOn, setInterface |
| Methods inherited from interface net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.IdentifiedType |
|---|
getId, setId |
| Method Detail |
|---|
ListOrSetType getInterfaces()
ListOrSetTypevoid setInterfaces(ListOrSetType value)
value - allowed object is
ListOrSetTypeList<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
MapType getServiceProperties()
MapTypevoid setServiceProperties(MapType value)
value - allowed object is
MapTypeElement getAny()
Elementvoid setAny(Element value)
value - allowed object is
ElementString getRef()
Stringvoid setRef(String value)
value - allowed object is
Stringint getRanking()
Integervoid setRanking(Integer value)
value - allowed object is
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||