alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*
 * EarConfigBean.java
 *
 * Created on February 28, 2002, 3:27 PM
 */

package org.netbeans.tests.j2eeserver.plugin.jsr88;

import javax.enterprise.deploy.spi.exceptions.*;
import javax.enterprise.deploy.spi.*;
import java.beans.*;
import javax.enterprise.deploy.model.*;


/**
 *
 * @author  gfink
 */
public class EjbRefConfigBean implements DConfigBean {
    
    DDBean bean;
    DepConfig config;
    
    public EjbRefConfigBean(DDBean bean, DepConfig config) {
        System.err.println("creating ejbrefconfigbean");
        this.bean = bean; this.config = config;
    }
      
    public DConfigBean getDConfigBean(DDBean dDBean) throws ConfigurationException {
        return null;
    }
    
    public DDBean getDDBean() {
        return bean;
    }
    
    public String[] getXpaths() {
        return null;
    }
    
    public void notifyDDChange(XpathEvent xpathEvent) {
    }
    
    public void removeDConfigBean(DConfigBean dConfigBean) throws BeanNotFoundException {
    }
    
      /** Utility field used by bound properties. */
      private PropertyChangeSupport propertyChangeSupport =  new PropertyChangeSupport(this);
      
      /** Holds value of property jndiName. */
      private String jndiName;
      
    public void addPropertyChangeListener(PropertyChangeListener listener) {
        propertyChangeSupport.addPropertyChangeListener(listener);
    }
    
    public void removePropertyChangeListener(PropertyChangeListener listener) {
        propertyChangeSupport.removePropertyChangeListener(listener);
    }   
    
    /** Getter for property jndiName.
     * @return Value of property jndiName.
     */
    public String getJndiName() {
        return this.jndiName;
    }
    
    /** Setter for property jndiName.
     * @param jndiName New value of property jndiName.
     */
    public void setJndiName(String jndiName) {
        String oldJndiName = this.jndiName;
        this.jndiName = jndiName;
        propertyChangeSupport.firePropertyChange("jndiName", oldJndiName, jndiName);
    }
    
}
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.