On Jan 11, 2007, at 11:52 PM, David Blevins wrote:


On Jan 3, 2007, at 3:28 PM, David Blevins wrote:
addContainer(String id, Class impl, String type, Properties containerProps)
addEjbJar(org.apache.openejb.EjbJar ejbJar)
addEjbJar(URL jarLocation)
addResource(URL jdbcUrl)

The ConfigurationFactory is the class that will have these methods, there not quite there yet but we should be able to do a lot of damage with the combinations of these two things:
  ConfigurationFactory.createService
  EjbJarInfoBuilder.buildInfo

Ok. I think we're good enough on this. Here's what I wound up with for public methods on ConfigurationFactory.

AppInfo configureApplication(File)
AppInfo configureApplication(AppModule)
EjbJarInfo configureApplication(EjbModule)
ClientInfo configureApplication(ClientModule)
ServiceInfo configureService(Class)
ServiceInfo configureService(Class, String, Properties, String, String)

That should be good enough to at least get a little farther. It'd be great to have a convenience class to smush this class and the Assembler class together, but we can make due for now.

Going to get some sleep and let Dain take his shift :)

Dain, if you run into something you need before I get up, just add it and we'll figure it out later.

-David


Reply via email to