[jboss-dev-forums] [Design of POJO Server] - Re: Moving forward with the profile service mgmt api

charles.crouch@jboss.com do-not-reply at jboss.com
Tue Dec 19 11:23:03 EST 2006


So we've got a new ManagedObject api from Adrian. The underlying implementation is still being worked on
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/managed/src/main/org/jboss/managed/api/

Also I understand that the meta data repository notion continues to be fleshed out:
>From Scott: "The two things to complete are getting the attachments for the base deployments stored in the repository, and then obtaining the attachments for a ManagedObject update to store as overrides."

Questions about next steps:

1) Does the additional work on the repository outlined above prevent progress on writing tests for the use cases we're going to need wrt basic DataSource management? I presume that the work remaining would actually prevent the tests from passing, but thats the next step :-). I guess we could stub out aspects of the repository to get the test to pass, but at the moment I'm more interested in the tests being written than having them pass.

2) Should the org.jboss.deployers.spi.management.ManagementView be updated to use the new ManagedObject api?

3) The tests for the DataSource use cases should go in here?
http://anonsvn.jboss.org/repos/jbossas/trunk/system/src/tests/org/jboss/test/profileservice/test/ 

Presumably the idea is that we can create our own mock impls or use the one Adrian has provided:
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/managed/src/main/org/jboss/managed/mock/MockDataSourceManagedObject.java

Cheers

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995058#3995058

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995058



More information about the jboss-dev-forums mailing list