org.apache.aries.blueprint.jaxb
Class Tservice

java.lang.Object
  extended by org.apache.aries.blueprint.jaxb.Tcomponent
      extended by org.apache.aries.blueprint.jaxb.Tservice
Direct Known Subclasses:
TinlinedService

public class Tservice
extends Tcomponent

Tservice is the type for services exported by this blueprint bundle. Services are sourced by either a to a component or an bean component.

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.osgi.org/xmlns/blueprint/v1.0.0}Tcomponent">
       <sequence>
         <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GserviceElements"/>
       </sequence>
       <attribute name="interface" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tclass" />
       <attribute name="ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
       <attribute name="auto-export" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TautoExportModes" default="disabled" />
       <attribute name="ranking" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String _interface
           
protected  java.lang.Object any
           
protected  java.lang.String autoExport
           
protected  TinlinedBean bean
           
protected  Tdescription description
           
protected  Tinterfaces interfaces
           
protected  java.lang.Integer ranking
           
protected  Tref ref
           
protected  java.lang.String refAttribute
           
protected  TinlinedReference reference
           
protected  java.util.List<TregistrationListener> registrationListener
           
protected  TserviceProperties serviceProperties
           
 
Fields inherited from class org.apache.aries.blueprint.jaxb.Tcomponent
activation, dependsOn, id
 
Constructor Summary
Tservice()
           
 
Method Summary
 java.lang.Object getAny()
          Gets the value of the any property.
 java.lang.String getAutoExport()
          Gets the value of the autoExport property.
 TinlinedBean getBean()
          Gets the value of the bean property.
 Tdescription getDescription()
          Gets the value of the description property.
 java.lang.String getInterface()
          Gets the value of the interface property.
 Tinterfaces getInterfaces()
          Gets the value of the interfaces property.
 int getRanking()
          Gets the value of the ranking property.
 Tref getRef()
          Gets the value of the ref property.
 java.lang.String getRefAttribute()
          Gets the value of the refAttribute property.
 TinlinedReference getReference()
          Gets the value of the reference property.
 java.util.List<TregistrationListener> getRegistrationListener()
          Gets the value of the registrationListener property.
 TserviceProperties getServiceProperties()
          Gets the value of the serviceProperties property.
 void setAny(java.lang.Object value)
          Sets the value of the any property.
 void setAutoExport(java.lang.String value)
          Sets the value of the autoExport property.
 void setBean(TinlinedBean value)
          Sets the value of the bean property.
 void setDescription(Tdescription value)
          Sets the value of the description property.
 void setInterface(java.lang.String value)
          Sets the value of the interface property.
 void setInterfaces(Tinterfaces value)
          Sets the value of the interfaces property.
 void setRanking(java.lang.Integer value)
          Sets the value of the ranking property.
 void setRef(Tref value)
          Sets the value of the ref property.
 void setRefAttribute(java.lang.String value)
          Sets the value of the refAttribute property.
 void setReference(TinlinedReference value)
          Sets the value of the reference property.
 void setServiceProperties(TserviceProperties value)
          Sets the value of the serviceProperties property.
 
Methods inherited from class org.apache.aries.blueprint.jaxb.Tcomponent
getActivation, getDependsOn, getId, setActivation, setDependsOn, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected Tdescription description

interfaces

protected Tinterfaces interfaces

serviceProperties

protected TserviceProperties serviceProperties

registrationListener

protected java.util.List<TregistrationListener> registrationListener

bean

protected TinlinedBean bean

reference

protected TinlinedReference reference

ref

protected Tref ref

any

protected java.lang.Object any

_interface

protected java.lang.String _interface

refAttribute

protected java.lang.String refAttribute

autoExport

protected java.lang.String autoExport

ranking

protected java.lang.Integer ranking
Constructor Detail

Tservice

public Tservice()
Method Detail

getDescription

public Tdescription getDescription()
Gets the value of the description property.

Returns:
possible object is Tdescription

setDescription

public void setDescription(Tdescription value)
Sets the value of the description property.

Parameters:
value - allowed object is Tdescription

getInterfaces

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

Returns:
possible object is Tinterfaces

setInterfaces

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

Parameters:
value - allowed object is Tinterfaces

getServiceProperties

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

Returns:
possible object is TserviceProperties

setServiceProperties

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

Parameters:
value - allowed object is TserviceProperties

getRegistrationListener

public java.util.List<TregistrationListener> 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 TregistrationListener


getBean

public TinlinedBean getBean()
Gets the value of the bean property.

Returns:
possible object is TinlinedBean

setBean

public void setBean(TinlinedBean value)
Sets the value of the bean property.

Parameters:
value - allowed object is TinlinedBean

getReference

public TinlinedReference getReference()
Gets the value of the reference property.

Returns:
possible object is TinlinedReference

setReference

public void setReference(TinlinedReference value)
Sets the value of the reference property.

Parameters:
value - allowed object is TinlinedReference

getRef

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

Returns:
possible object is Tref

setRef

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

Parameters:
value - allowed object is Tref

getAny

public java.lang.Object getAny()
Gets the value of the any property.

Returns:
possible object is Object

setAny

public void setAny(java.lang.Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Object

getInterface

public java.lang.String getInterface()
Gets the value of the interface property.

Returns:
possible object is String

setInterface

public void setInterface(java.lang.String value)
Sets the value of the interface property.

Parameters:
value - allowed object is String

getRefAttribute

public java.lang.String getRefAttribute()
Gets the value of the refAttribute property.

Returns:
possible object is String

setRefAttribute

public void setRefAttribute(java.lang.String value)
Sets the value of the refAttribute property.

Parameters:
value - allowed object is String

getAutoExport

public java.lang.String getAutoExport()
Gets the value of the autoExport property.

Returns:
possible object is String

setAutoExport

public void setAutoExport(java.lang.String value)
Sets the value of the autoExport 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(java.lang.Integer value)
Sets the value of the ranking property.

Parameters:
value - allowed object is Integer


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.