net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi
Class Tservice

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.beans.IdentifiedType
      extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.TbaseService
          extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.Tservice
All Implemented Interfaces:
Serializable, Cloneable

public class Tservice
extends TbaseService
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  Element any
           
protected  ListOrSetType interfaces
           
protected  Integer ranking
           
protected  String ref
           
protected  TserviceRegistrationListener[] registrationListener
           
protected  MapType serviceProperties
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.TbaseService
_interface, autoExport, contextClassLoader, dependsOn
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.beans.IdentifiedType
id
 
Constructor Summary
Tservice()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.Tservice instance.
Tservice(Tservice o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.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.
 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 class net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.TbaseService
getAutoExport, getContextClassLoader, getDependsOn, getInterface, setAutoExport, setContextClassLoader, setDependsOn, setInterface
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pkg.indexed.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

interfaces

protected ListOrSetType interfaces

registrationListener

protected TserviceRegistrationListener[] registrationListener

serviceProperties

protected MapType serviceProperties

any

protected Element any

ref

protected String ref

ranking

protected Integer ranking
Constructor Detail

Tservice

public Tservice()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.Tservice instance.


Tservice

public Tservice(Tservice o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.osgi.Tservice instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getInterfaces

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

Returns:
possible object is ListOrSetType

setInterfaces

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

Parameters:
value - allowed object is ListOrSetType

getRegistrationListener

public TserviceRegistrationListener[] getRegistrationListener()
Returns:
array of TserviceRegistrationListener

getRegistrationListener

public TserviceRegistrationListener getRegistrationListener(int idx)
Returns:
one of TserviceRegistrationListener

getRegistrationListenerLength

public int getRegistrationListenerLength()

setRegistrationListener

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

setRegistrationListener

public TserviceRegistrationListener setRegistrationListener(int idx,
                                                            TserviceRegistrationListener value)
Parameters:
value - allowed object is TserviceRegistrationListener

getServiceProperties

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

Returns:
possible object is MapType

setServiceProperties

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

Parameters:
value - allowed object is MapType

getAny

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

Returns:
possible object is Element

setAny

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

Parameters:
value - allowed object is Element

getRef

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

Returns:
possible object is String

setRef

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

Parameters:
value - allowed object is String

getRanking

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

Returns:
possible object is Integer

setRanking

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

Parameters:
value - allowed object is Integer

clone

public Tservice clone()
Creates and returns a copy of this object.

Overrides:
clone in class TbaseService
Returns:
A clone of this instance.


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