You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by be...@incubator.apache.org on 2004/10/20 00:55:51 UTC

[jira] Created: (BEEHIVE-20) Binding Unsupported

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/BEEHIVE-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: BEEHIVE-20
    Summary: Binding Unsupported
       Type: Bug

     Status: Open
   Priority: Major

    Project: Beehive
 Components: 
             Controls
   Versions:
             Version 1

   Assignee: Kenneth Tam
   Reporter: Zach Smith

    Created: Tue, 19 Oct 2004 3:55 PM
    Updated: Tue, 19 Oct 2004 3:55 PM

Description:
The binding support described http://wiki.apache.org/beehive/Controls/AssemblyAndBinding in is not implemented.

I wrote a simple test to ensure binding but the test fails as it appears that the MyApp.controls.properties file is not referenced.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-20) Binding Unsupported

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-20?page=comments#action_65116 ]
     
Jeremiah Johnson commented on BEEHIVE-20:
-----------------------------------------

It doesn't appear that KT ever updated the Wiki, so I just made a minor edit: changed MyApp.controls.properties to controlbindings.properties and also removed the 'interface' in the binding bullet.  There is DRT that exercises the external configuration feature, so if you have anymore trouble take a look at it or I can help you too.

Wiki Original
bindings between ControlBean/interface types and control implementation types. Each binding applies to all usages of the ControlBean/interface type within that app. 

Example controls binding file (e.g. MyApp.controls.properties) 
org.acme.controls.FooBean=org.acme.controls.FooSimulationImpl
com.bea.controls.DailyTimerBean=org.acme.controls.CustomTimerImpl

Wiki New
bindings between ControlBean types and control implementation types. Each binding applies to all usages of the ControlBean type within that app. 

Example controls binding file (controlbindings.properties) 
org.acme.controls.FooBean=org.acme.controls.FooSimulationImpl
com.bea.controls.DailyTimerBean=org.acme.controls.CustomTimerImpl

The external configuration file should be in the classpath as controlbindings.properties. If you are building a Web application that uses Controls, then you would put a controlbindings.properties file in WEB-INF/classes to take advantage of external binding. If you are building a jar with Controls in it that requires external binding, then controlbindings.properties would be in the root of the jar. 



> Binding Unsupported
> -------------------
>
>          Key: BEEHIVE-20
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-20
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Zach Smith
>     Assignee: Zach Smith
>      Fix For: V1Beta

>
> The binding support described http://wiki.apache.org/beehive/Controls/AssemblyAndBinding in is not implemented.
> I wrote a simple test to ensure binding but the test fails as it appears that the MyApp.controls.properties file is not referenced.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-20) Binding Unsupported

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-20?page=all ]
     
Jeremiah Johnson closed BEEHIVE-20:
-----------------------------------


This has been implemented and tested.

> Binding Unsupported
> -------------------
>
>          Key: BEEHIVE-20
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-20
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Zach Smith
>     Assignee: Zach Smith
>      Fix For: V1Beta

>
> The binding support described http://wiki.apache.org/beehive/Controls/AssemblyAndBinding in is not implemented.
> I wrote a simple test to ensure binding but the test fails as it appears that the MyApp.controls.properties file is not referenced.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-20) Binding Unsupported

Posted by "Kenneth Tam (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-20?page=history ]

Kenneth Tam updated BEEHIVE-20:
-------------------------------

    Fix Version: V1

> Binding Unsupported
> -------------------
>
>          Key: BEEHIVE-20
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-20
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Zach Smith
>     Assignee: Kenneth Tam
>      Fix For: V1

>
> The binding support described http://wiki.apache.org/beehive/Controls/AssemblyAndBinding in is not implemented.
> I wrote a simple test to ensure binding but the test fails as it appears that the MyApp.controls.properties file is not referenced.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-20) Binding Unsupported

Posted by "Kenneth Tam (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-20?page=history ]
     
Kenneth Tam resolved BEEHIVE-20:
--------------------------------

      Assign To: Zach Smith  (was: Kenneth Tam)
     Resolution: Fixed
    Fix Version: V1Beta
                     (was: V1)

svn rev #155360 implements a simple external binding model.  Please see that for examples, and I'll update the wiki spec appropriately.


> Binding Unsupported
> -------------------
>
>          Key: BEEHIVE-20
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-20
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Zach Smith
>     Assignee: Zach Smith
>      Fix For: V1Beta

>
> The binding support described http://wiki.apache.org/beehive/Controls/AssemblyAndBinding in is not implemented.
> I wrote a simple test to ensure binding but the test fails as it appears that the MyApp.controls.properties file is not referenced.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira