// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.04.23 at 12:57:08 PM EDT // package org.apache.aries.blueprint.jaxb; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * * * A registration listener definition. The target registration listener * can be either a <ref> to a <bean> or <service> component, or an inline * <bean> or <service> 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 <ref> to a listener component, the * ref attribute may also be used as a shortcut. * * * * <p>Java class for TregistrationListener complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TregistrationListener", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = { "bean", "reference", "ref", "any" }) @XmlRootElement(name = "registrationListener") public class TregistrationListener { protected TinlinedBean bean; protected TinlinedReference reference; protected Tref ref; @XmlAnyElement(lax = true) protected Object any; @XmlAttribute(name = "ref") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String refAttribute; @XmlAttribute(name = "registration-method") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String registrationMethod; @XmlAttribute(name = "unregistration-method") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String unregistrationMethod; /** * Gets the value of the bean property. * * @return * possible object is * {@link TinlinedBean } * */ public TinlinedBean getBean() { return bean; } /** * Sets the value of the bean property. * * @param value * allowed object is * {@link TinlinedBean } * */ public void setBean(TinlinedBean value) { this.bean = value; } /** * Gets the value of the reference property. * * @return * possible object is * {@link TinlinedReference } * */ public TinlinedReference getReference() { return reference; } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link TinlinedReference } * */ public void setReference(TinlinedReference value) { this.reference = value; } /** * Gets the value of the ref property. * * @return * possible object is * {@link Tref } * */ public Tref getRef() { return ref; } /** * Sets the value of the ref property. * * @param value * allowed object is * {@link Tref } * */ public void setRef(Tref value) { this.ref = value; } /** * Gets the value of the any property. * * @return * possible object is * {@link Object } * */ public Object getAny() { return any; } /** * Sets the value of the any property. * * @param value * allowed object is * {@link Object } * */ public void setAny(Object value) { this.any = value; } /** * Gets the value of the refAttribute property. * * @return * possible object is * {@link String } * */ public String getRefAttribute() { return refAttribute; } /** * Sets the value of the refAttribute property. * * @param value * allowed object is * {@link String } * */ public void setRefAttribute(String value) { this.refAttribute = value; } /** * Gets the value of the registrationMethod property. * * @return * possible object is * {@link String } * */ public String getRegistrationMethod() { return registrationMethod; } /** * Sets the value of the registrationMethod property. * * @param value * allowed object is * {@link String } * */ public void setRegistrationMethod(String value) { this.registrationMethod = value; } /** * Gets the value of the unregistrationMethod property. * * @return * possible object is * {@link String } * */ public String getUnregistrationMethod() { return unregistrationMethod; } /** * Sets the value of the unregistrationMethod property. * * @param value * allowed object is * {@link String } * */ public void setUnregistrationMethod(String value) { this.unregistrationMethod = value; } }