[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extensible ozone API



Hi,
what you all think is a good way to integrate new things in the ozone API?
Currently virtual the entire API is defined by org.ozoneDB.OzoneInterface. Now
I'm going to integrate code that provides an XML facade for the objects in the
database but I don't want to add those methods to OzoneInterface. What about
one new method that returns some kind of a service interface that extends
OzoneInterface by the API for a special domain like XML?

public interface OzoneInterface {

    ...

    public final static int	SERVICE_HANDLE_XML = 1;

    <other services>
    
    public OzoneService service (int serviceHandle)
        throws Exception;
    
Other ideas?


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com