You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/10/26 03:28:55 UTC

[jira] Closed: (GERONIMO-512) non-reference gbean dependencies

     [ http://issues.apache.org/jira/browse/GERONIMO-512?page=all ]
     
David Jencks closed GERONIMO-512:
---------------------------------

    Resolution: Fixed

The implementation borrows some code from the gbean reference classes.  I'm not sure how worthwhile it would be to try to combine the classes somehow.

I don't understand exactly what Bruce is requesting.  I think it would be a different issue in any case.

Sending        modules/kernel/src/java/org/apache/geronimo/gbean/GBeanData.java
Adding         modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanDependency.java
Sending        modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstance.java
Adding         modules/kernel/src/test/org/apache/geronimo/gbean/runtime/GBeanDependencyTest.java
Sending        modules/service-builder/src/java/org/apache/geronimo/deployment/service/GBeanBuilder.java
Sending        modules/service-builder/src/java/org/apache/geronimo/deployment/service/ServiceConfigBuilder.java
Sending        modules/service-builder/src/schema/geronimo-config-1.0.xsd
Transmitting file data .......
Committed revision 328519.

> non-reference gbean dependencies
> --------------------------------
>
>          Key: GERONIMO-512
>          URL: http://issues.apache.org/jira/browse/GERONIMO-512
>      Project: Geronimo
>         Type: New Feature
>   Components: kernel
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0

>
> Currently there is no way to make gbeans start in a particular order unless they have a reference to each other.  This is unsatisfactory as for instance one might open a server socket the other wants to connect to.  Also, jndi refs are not reflected in the gbean dependency graph.
> So far the best idea seems to be to add a list of dependencies (object names or their successors) to GBeanData, and add these to the dependency manager on startup (and presumably remove them on shutdown).

-- 
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