org.apache.aries.blueprint.jaxb
Class Tbean

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

public class Tbean
extends Tcomponent

The type definition for a component. The attributes provide the characteristics for how to create a bean instance. Constructor arguments and injected properties are specified via child and elements.

Java class for Tbean complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Tbean">
   <complexContent>
     <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tcomponent">
       <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GbeanElements"/>
       <attribute name="class" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tclass" />
       <attribute name="init-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
       <attribute name="destroy-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
       <attribute name="factory-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
       <attribute name="factory-ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
       <attribute name="scope" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tscope" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> argumentOrPropertyOrAny
           
protected  java.lang.String clazz
           
protected  Tdescription description
           
protected  java.lang.String destroyMethod
           
protected  java.lang.String factoryMethod
           
protected  java.lang.String factoryRef
           
protected  java.lang.String initMethod
           
protected  java.lang.String scope
           
 
Fields inherited from class org.apache.aries.blueprint.jaxb.Tcomponent
activation, dependsOn, id
 
Constructor Summary
Tbean()
           
 
Method Summary
 java.util.List<java.lang.Object> getArgumentOrPropertyOrAny()
          Gets the value of the argumentOrPropertyOrAny property.
 java.lang.String getClazz()
          Gets the value of the clazz property.
 Tdescription getDescription()
          Gets the value of the description property.
 java.lang.String getDestroyMethod()
          Gets the value of the destroyMethod property.
 java.lang.String getFactoryMethod()
          Gets the value of the factoryMethod property.
 java.lang.String getFactoryRef()
          Gets the value of the factoryRef property.
 java.lang.String getInitMethod()
          Gets the value of the initMethod property.
 java.lang.String getScope()
          Gets the value of the scope property.
 void setClazz(java.lang.String value)
          Sets the value of the clazz property.
 void setDescription(Tdescription value)
          Sets the value of the description property.
 void setDestroyMethod(java.lang.String value)
          Sets the value of the destroyMethod property.
 void setFactoryMethod(java.lang.String value)
          Sets the value of the factoryMethod property.
 void setFactoryRef(java.lang.String value)
          Sets the value of the factoryRef property.
 void setInitMethod(java.lang.String value)
          Sets the value of the initMethod property.
 void setScope(java.lang.String value)
          Sets the value of the scope 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

argumentOrPropertyOrAny

protected java.util.List<java.lang.Object> argumentOrPropertyOrAny

clazz

protected java.lang.String clazz

initMethod

protected java.lang.String initMethod

destroyMethod

protected java.lang.String destroyMethod

factoryMethod

protected java.lang.String factoryMethod

factoryRef

protected java.lang.String factoryRef

scope

protected java.lang.String scope
Constructor Detail

Tbean

public Tbean()
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

getArgumentOrPropertyOrAny

public java.util.List<java.lang.Object> getArgumentOrPropertyOrAny()
Gets the value of the argumentOrPropertyOrAny 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 argumentOrPropertyOrAny property.

For example, to add a new item, do as follows:

    getArgumentOrPropertyOrAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object JAXBElement<Tproperty> JAXBElement<Targument>


getClazz

public java.lang.String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(java.lang.String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

getInitMethod

public java.lang.String getInitMethod()
Gets the value of the initMethod property.

Returns:
possible object is String

setInitMethod

public void setInitMethod(java.lang.String value)
Sets the value of the initMethod property.

Parameters:
value - allowed object is String

getDestroyMethod

public java.lang.String getDestroyMethod()
Gets the value of the destroyMethod property.

Returns:
possible object is String

setDestroyMethod

public void setDestroyMethod(java.lang.String value)
Sets the value of the destroyMethod property.

Parameters:
value - allowed object is String

getFactoryMethod

public java.lang.String getFactoryMethod()
Gets the value of the factoryMethod property.

Returns:
possible object is String

setFactoryMethod

public void setFactoryMethod(java.lang.String value)
Sets the value of the factoryMethod property.

Parameters:
value - allowed object is String

getFactoryRef

public java.lang.String getFactoryRef()
Gets the value of the factoryRef property.

Returns:
possible object is String

setFactoryRef

public void setFactoryRef(java.lang.String value)
Sets the value of the factoryRef property.

Parameters:
value - allowed object is String

getScope

public java.lang.String getScope()
Gets the value of the scope property.

Returns:
possible object is String

setScope

public void setScope(java.lang.String value)
Sets the value of the scope property.

Parameters:
value - allowed object is String


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