db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OJB-47) Feature Request: Arguments for class constructor
Date Tue, 21 Jun 2005 09:20:18 GMT
    [ http://issues.apache.org/jira/browse/OJB-47?page=comments#action_12314143 ] 

Thomas Dudziak commented on OJB-47:

It might be useful to unify the object creation in the repository.xml, e.g.

<class-descriptor class="SomeClass">
  <creation type="constructor">      <!-- this would be the default creation type,
also possible would be 'factory-method' -->
    <arg idx="0" field-ref="someField"/>
    <arg idx="1" constant-value="1"/>

  <field-descriptor name="someField"

and the current factory-class/factory-method attributes in class-descriptor would be deprecated.

> Feature Request: Arguments for class constructor
> ------------------------------------------------
>          Key: OJB-47
>          URL: http://issues.apache.org/jira/browse/OJB-47
>      Project: OJB
>         Type: New Feature
>     Reporter: Michael Kröz
>     Priority: Minor
>  Attachments: TestConstructorArgument.java
> As spoken with Thomas Dudziak about, it would be nice to have
> a possibility to use arguments for the constructor of a class, that 
> allows one to parametrize the construction of an object. 
> This feature request is tightly coupled with another requested
> extension, the support of non-static inner classes.
> Regards,
> Michael Kröz

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message