On Saturday 24 April 2004 06:17, Cameron Fieber wrote:
> I was thinking about a new feature to partition the classpath into
> public and private (or api and impl) sections in the block.xml.  

> Any thoughts or opinions?  I'll try to take a stab at an implementation
> this weekend to flesh out my example a bit better.

I second this proposal. Just with some amendments, of course. :o)

The 'export' of classpath resources are related to service usage, so I think 
it should belong in the services section and not in the classpath section.
It also require less handling of compatibility with previous format, i.e. 
none.
Something like this;

<container>
  <services>
    <service type="com.bar.foo.FooService">
      <source>fooService</source>
      <export>
        <resource id="bar:foo-api" version="1.0"/>
        <resource id="bar:foo-bean" version="1.0"/>
      </export>
    </service>  
  </services>

  <classpath>
   <!-- As before  -->
  </classpath>
     :
     :
  <component 
  
  class="org.hedhman.niclas.standard.Cheers"
  
  name="Niclas" 
  />
</container>


-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to