net.sourceforge.ccxjc.it.model.priv.indexed.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.
 TserviceRegistrationListener[] getRegistrationListener()
           
 TserviceRegistrationListener getRegistrationListener(int idx)
           
 int getRegistrationListenerLength()
           
 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.
 TserviceRegistrationListener setRegistrationListener(int idx, TserviceRegistrationListener value)
           
 void setRegistrationListener(TserviceRegistrationListener[] values)
           
 void setServiceProperties(MapType value)
          Sets the value of the serviceProperties property.
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.spring.osgi.TbaseService
getAutoExport, getContextClassLoader, getDependsOn, getInterface, setAutoExport, setContextClassLoader, setDependsOn, setInterface
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.priv.indexed.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

TserviceRegistrationListener[] getRegistrationListener()
Returns:
array of TserviceRegistrationListener

getRegistrationListener

TserviceRegistrationListener getRegistrationListener(int idx)
Returns:
one of TserviceRegistrationListener

getRegistrationListenerLength

int getRegistrationListenerLength()

setRegistrationListener

void setRegistrationListener(TserviceRegistrationListener[] values)
Parameters:
values - allowed objects are TserviceRegistrationListener

setRegistrationListener

TserviceRegistrationListener setRegistrationListener(int idx,
                                                     TserviceRegistrationListener value)
Parameters:
value - allowed object is 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.