Revision 30580 branches/v2_0_0_prep/libraries/libFMap_daldb/src/org/gvsig/fmap/dal/DALDbLibrary.java
DALDbLibrary.java | ||
---|---|---|
30 | 30 |
*/ |
31 | 31 |
package org.gvsig.fmap.dal; |
32 | 32 |
|
33 |
import org.gvsig.fmap.dal.resource.db.DBResourceLibrary; |
|
34 |
import org.gvsig.fmap.dal.resource.spi.ResourceManagerProviderServices; |
|
35 |
import org.gvsig.fmap.dal.spi.DataManagerProviderServices; |
|
36 |
import org.gvsig.tools.locator.BaseLibrary; |
|
37 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
|
33 |
import org.gvsig.tools.library.LibraryException; |
|
34 |
import org.gvsig.tools.library.impl.BaseLibrary; |
|
38 | 35 |
|
39 | 36 |
/** |
40 | 37 |
* Initialize DAL data base basic support |
... | ... | |
43 | 40 |
* |
44 | 41 |
*/ |
45 | 42 |
public class DALDbLibrary extends BaseLibrary { |
46 |
private DBResourceLibrary dbResourceLibrary; |
|
47 | 43 |
|
48 |
public void postInitialize() throws ReferenceNotRegisteredException { |
|
49 |
DataManagerProviderServices dataman = (DataManagerProviderServices) DALLocator |
|
50 |
.getDataManager(); |
|
51 |
|
|
52 |
ResourceManagerProviderServices resman = (ResourceManagerProviderServices) DALLocator |
|
53 |
.getResourceManager(); |
|
54 |
|
|
55 |
dbResourceLibrary.postInitialize(); |
|
44 |
@Override |
|
45 |
protected void doInitialize() throws LibraryException { |
|
56 | 46 |
} |
57 | 47 |
|
58 |
public void initialize() throws ReferenceNotRegisteredException { |
|
59 |
super.initialize(); |
|
60 |
dbResourceLibrary = new DBResourceLibrary(); |
|
61 |
dbResourceLibrary.initialize(); |
|
48 |
@Override |
|
49 |
protected void doPostInitialize() throws LibraryException { |
|
62 | 50 |
} |
63 | 51 |
} |
Also available in: Unified diff