net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.osgi
Interface Tservice

All Superinterfaces:
IdentifiedType, TbaseService
All Known Implementing Classes:
TserviceImpl

public interface Tservice
extends TbaseService

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

getInterfaces

ListOrSetType getInterfaces()
Gets the value of the interfaces property.

Returns:
possible object is ListOrSetType

setInterfaces

void setInterfaces(ListOrSetType value)
Sets the value of the interfaces property.

Parameters:
value - allowed object is ListOrSetType

getRegistrationListener

List<TserviceRegistrationListener> getRegistrationListener()
Gets the value of the registrationListener property.

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


getServiceProperties

MapType getServiceProperties()
Gets the value of the serviceProperties property.

Returns:
possible object is MapType

setServiceProperties

void setServiceProperties(MapType value)
Sets the value of the serviceProperties property.

Parameters:
value - allowed object is MapType

getAny

Element getAny()
Gets the value of the any property.

Returns:
possible object is Element

setAny

void setAny(Element value)
Sets the value of the any property.

Parameters:
value - allowed object is Element

getRef

String getRef()
Gets the value of the ref property.

Returns:
possible object is String

setRef

void setRef(String value)
Sets the value of the ref property.

Parameters:
value - allowed object is String

getRanking

int getRanking()
Gets the value of the ranking property.

Returns:
possible object is Integer

setRanking

void setRanking(Integer value)
Sets the value of the ranking property.

Parameters:
value - allowed object is Integer


Copyright © 2009 The CC-XJC Community. All Rights Reserved.