This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 93815
Collapse All | Expand All

(-)j2eeserver/apichanges.xml (+18 lines)
Lines 86-91 Link Here
86
    <!-- ACTUAL CHANGES BEGIN HERE: -->
86
    <!-- ACTUAL CHANGES BEGIN HERE: -->
87
87
88
    <changes>
88
    <changes>
89
        <change id="ResourceApiRedesignCallEjbAction">
90
            <api name="j2eeserver"/>
91
            <summary>
92
                Adding an API for Call EJB action
93
            </summary>
94
            <version major="1" minor="26"/>
95
            <date day="15" month="4" year="2007"/>
96
            <author login="lkotouc"/>
97
            <compatibility binary="incompatible" source="incompatible" semantic="incompatible" addition="yes"/>
98
            <description>
99
                <p>
100
                    API for Call EJB action.
101
            	</p>
102
            </description>
103
	    <class package="org.netbeans.modules.j2ee.deployment.devmodules.spi" name="J2eeModuleProvider"/>
104
	    <class package="org.netbeans.modules.j2ee.deployment.plugins.spi.config" name="EjbResourceConfiguration"/>
105
            <issue number="89439"/>
106
        </change>
89
        <change id="ResourceApiRedesign">
107
        <change id="ResourceApiRedesign">
90
            <api name="j2eeserver"/>
108
            <api name="j2eeserver"/>
91
            <summary>
109
            <summary>
(-)j2eeserver/nbproject/project.properties (-1 / +1 lines)
Lines 17-23 Link Here
17
17
18
is.autoload=true
18
is.autoload=true
19
javac.source=1.5
19
javac.source=1.5
20
spec.version.base=1.25.0
20
spec.version.base=1.26.0
21
21
22
javadoc.overview=${basedir}/api/doc/overview.html
22
javadoc.overview=${basedir}/api/doc/overview.html
23
javadoc.arch=${basedir}/arch.xml
23
javadoc.arch=${basedir}/arch.xml
(-)j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/spi/J2eeModuleProvider.java (+34 lines)
Lines 536-547 Link Here
536
         * 
536
         * 
537
         * @throws NullPointerException if any of parameters is null
537
         * @throws NullPointerException if any of parameters is null
538
         * @throws ConfigurationException if there is some problem with message destination configuration
538
         * @throws ConfigurationException if there is some problem with message destination configuration
539
         * @throws IllegalArgumentException if ejbType doesn't have one of allowed values
539
         * 
540
         * 
540
         * @since 1.25
541
         * @since 1.25
541
         */
542
         */
542
        public void bindMessageDestinationReferenceForEjb(String ejbName, String ejbType,
543
        public void bindMessageDestinationReferenceForEjb(String ejbName, String ejbType,
543
                String referenceName, String connectionFactoryName,
544
                String referenceName, String connectionFactoryName,
544
                String destName, MessageDestination.Type type) throws ConfigurationException;
545
                String destName, MessageDestination.Type type) throws ConfigurationException;
546
547
        /**
548
         * Binds EJB reference name with EJB name.
549
         * 
550
         * @param referenceName name used to identify the EJB
551
         * @param referencedEjbName name of the referenced EJB
552
         * 
553
         * @throws NullPointerException if any of parameters is null
554
         * @throws ConfigurationException if there is some problem with EJB configuration
555
         * 
556
         * @since 1.26
557
         */
558
        public void bindEjbReference(String referenceName, String referencedEjbName) throws ConfigurationException;
559
560
        /**
561
         * Binds EJB reference name with EJB name within the EJB scope.
562
         * 
563
         * @param ejbName EJB name
564
         * @param ejbType EJB type - the possible values are 
565
         *        org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.SESSION,
566
         *        org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.ENTITY and
567
         *        org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.MESSAGE_DRIVEN
568
         * @param referenceName name used to identify the referenced EJB
569
         * @param referencedEjbName name of the referenced EJB
570
         * 
571
         * @throws NullPointerException if any of parameters is null
572
         * @throws ConfigurationException if there is some problem with EJB configuration
573
         * @throws IllegalArgumentException if ejbType doesn't have one of allowed values
574
         * 
575
         * @since 1.26
576
         */
577
        public void bindEjbReferenceForEjb(String ejbName, String ejbType,
578
                String referenceName, String referencedEjbName) throws ConfigurationException;
545
    }
579
    }
546
580
547
    /**
581
    /**
(-)j2eeserver/src/org/netbeans/modules/j2ee/deployment/plugins/spi/config/EjbResourceConfiguration.java (-1 / +35 lines)
Lines 13-19 Link Here
13
 * "Portions Copyrighted [year] [name of copyright owner]"
13
 * "Portions Copyrighted [year] [name of copyright owner]"
14
 *
14
 *
15
 * The Original Software is NetBeans. The Initial Developer of the Original
15
 * The Original Software is NetBeans. The Initial Developer of the Original
16
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
16
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17
 * Microsystems, Inc. All Rights Reserved.
17
 * Microsystems, Inc. All Rights Reserved.
18
 */
18
 */
19
19
Lines 43-46 Link Here
43
     * @throws ConfigurationException reports errors in setting the EJB resource.
43
     * @throws ConfigurationException reports errors in setting the EJB resource.
44
     */
44
     */
45
    void ensureResourceDefined(ComponentInterface ejb, String jndiName) throws ConfigurationException;
45
    void ensureResourceDefined(ComponentInterface ejb, String jndiName) throws ConfigurationException;
46
    
47
    /**
48
     * Binds EJB reference name with EJB name.
49
     * 
50
     * @param referenceName name used to identify the EJB
51
     * @param referencedEjbName name of the referenced EJB
52
     * 
53
     * @throws ConfigurationException if there is some problem with EJB configuration
54
     * 
55
     * @since 1.26
56
     */
57
    public void bindEjbReference(String referenceName, String referencedEjbName) throws ConfigurationException;
58
59
    /**
60
     * Binds EJB reference name with EJB name within the EJB scope.
61
     * 
62
     * @param ejbName EJB name
63
     * @param ejbType EJB type - the possible values are 
64
     *        org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.SESSION,
65
     *        org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.ENTITY and
66
     *        org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.MESSAGE_DRIVEN
67
     * @param referenceName name used to identify the referenced EJB
68
     * @param referencedEjbName name of the referenced EJB
69
     * 
70
     * @throws NullPointerException if any of parameters is null
71
     * @throws ConfigurationException if there is some problem with EJB configuration
72
     * @throws IllegalArgumentException if ejbType doesn't have one of allowed values
73
     * 
74
     * @since 1.26
75
     */
76
    public void bindEjbReferenceForEjb(String ejbName, String ejbType,
77
            String referenceName, String referencedEjbName) throws ConfigurationException;
78
    
79
    
46
}
80
}

Return to bug 93815