Hello Frank,

 

I am not sure I understand.

 

I can call register(HelperContext) only after loading the factory class

and obtaining an instance. For example, I could modify the static init() method

to call instance.register(getScopeFromSomewhere()). Afterwards I could call 

scope.getDataFactory(type) and so on.

 

But what would be the purpose of obtaining a data factory in such a roundabout 

way? If I have to obtain an instance of the factory for the type in the first 
place,

why should I not always use factory.create() directly?

 

--   Sebastian

 

From: Frank Budinsky [mailto:[email protected]] 
Sent: Tuesday, October 05, 2010 4:31 PM
To: [email protected]
Subject: Re: [SDO] Samples for notification feature / register ?

 

[snip]
For your second question, Factory.register() is used to define types with 
static implementation classes. Load from XSD is used for dynamic SDO types.

Frank

Reply via email to