org.apache.aries.blueprint.jaxb
Class TregistrationListener

java.lang.Object
  extended by org.apache.aries.blueprint.jaxb.TregistrationListener

public class TregistrationListener
extends java.lang.Object

A registration listener definition. The target registration listener can be either a to a or component, or an inline or component definition. The registration-method and unregistration-method attributes define the methods that will be called for the respective events. For the very common case of using a to a listener component, the ref attribute may also be used as a shortcut.

Java class for TregistrationListener complex type.

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

 <complexType name="TregistrationListener">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GtargetComponent" minOccurs="0"/>
       </sequence>
       <attribute name="ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
       <attribute name="registration-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
       <attribute name="unregistration-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Object any
           
protected  TinlinedBean bean
           
protected  Tref ref
           
protected  java.lang.String refAttribute
           
protected  TinlinedReference reference
           
protected  java.lang.String registrationMethod
           
protected  java.lang.String unregistrationMethod
           
 
Constructor Summary
TregistrationListener()
           
 
Method Summary
 java.lang.Object getAny()
          Gets the value of the any property.
 TinlinedBean getBean()
          Gets the value of the bean 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.lang.String getRegistrationMethod()
          Gets the value of the registrationMethod property.
 java.lang.String getUnregistrationMethod()
          Gets the value of the unregistrationMethod property.
 void setAny(java.lang.Object value)
          Sets the value of the any property.
 void setBean(TinlinedBean value)
          Sets the value of the bean 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 setRegistrationMethod(java.lang.String value)
          Sets the value of the registrationMethod property.
 void setUnregistrationMethod(java.lang.String value)
          Sets the value of the unregistrationMethod property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bean

protected TinlinedBean bean

reference

protected TinlinedReference reference

ref

protected Tref ref

any

protected java.lang.Object any

refAttribute

protected java.lang.String refAttribute

registrationMethod

protected java.lang.String registrationMethod

unregistrationMethod

protected java.lang.String unregistrationMethod
Constructor Detail

TregistrationListener

public TregistrationListener()
Method Detail

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

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

getRegistrationMethod

public java.lang.String getRegistrationMethod()
Gets the value of the registrationMethod property.

Returns:
possible object is String

setRegistrationMethod

public void setRegistrationMethod(java.lang.String value)
Sets the value of the registrationMethod property.

Parameters:
value - allowed object is String

getUnregistrationMethod

public java.lang.String getUnregistrationMethod()
Gets the value of the unregistrationMethod property.

Returns:
possible object is String

setUnregistrationMethod

public void setUnregistrationMethod(java.lang.String value)
Sets the value of the unregistrationMethod property.

Parameters:
value - allowed object is String


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