Revision 24066 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/DefaultFeatureStore.java
DefaultFeatureStore.java | ||
---|---|---|
115 | 115 |
|
116 | 116 |
private DefaultFeatureIndexes indexes; |
117 | 117 |
|
118 |
private Logger logger = null; |
|
118 |
final static private Logger logger = LoggerFactory |
|
119 |
.getLogger(DefaultFeatureStore.class); |
|
119 | 120 |
|
120 | 121 |
/* |
121 | 122 |
* TODO: |
... | ... | |
477 | 478 |
// |
478 | 479 |
public Object invokeOperation(int code, OperationContext context) |
479 | 480 |
throws OperationException, OperationNotSupportedException { |
480 |
return ToolsLocator.getOperationManager().invoke(this, code, context); |
|
481 |
return ToolsLocator.getOperationManager().invokeOperation(this, code, context);
|
|
481 | 482 |
} |
482 | 483 |
|
483 | 484 |
public Object invokeOperation(String name, OperationContext context) |
484 | 485 |
throws OperationException, OperationNotSupportedException { |
485 |
return ToolsLocator.getOperationManager().invoke(this, name, context); |
|
486 |
return ToolsLocator.getOperationManager().invokeOperation(this, name, context);
|
|
486 | 487 |
} |
487 | 488 |
|
488 |
public boolean implementsOperation(int code) {
|
|
489 |
return ToolsLocator.getOperationManager().has(this, code); |
|
489 |
public boolean hasOperation(int code) {
|
|
490 |
return ToolsLocator.getOperationManager().hasOperation(this, code);
|
|
490 | 491 |
} |
491 | 492 |
|
492 |
public boolean implementsOperation(String name) {
|
|
493 |
return ToolsLocator.getOperationManager().has(this, name); |
|
493 |
public boolean hasOperation(String name) {
|
|
494 |
return ToolsLocator.getOperationManager().hasOperation(this, name);
|
|
494 | 495 |
} |
495 | 496 |
|
496 | 497 |
public Object getOperation(int code) throws OperationException { |
497 |
return ToolsLocator.getOperationManager().get(this, code); |
|
498 |
return ToolsLocator.getOperationManager().getOperation(this, code);
|
|
498 | 499 |
} |
499 | 500 |
|
500 | 501 |
public Object getOperation(String name) throws OperationException { |
501 |
return ToolsLocator.getOperationManager().get(this, name); |
|
502 |
return ToolsLocator.getOperationManager().getOperation(this, name);
|
|
502 | 503 |
} |
503 | 504 |
|
504 | 505 |
// |
... | ... | |
1018 | 1019 |
} |
1019 | 1020 |
|
1020 | 1021 |
public Logger getLogger() { |
1021 |
if (this.logger == null) { |
|
1022 |
this.logger = LoggerFactory.getLogger(this.getClass()); |
|
1023 |
} |
|
1024 |
return this.logger; |
|
1022 |
return DefaultFeatureStore.logger; |
|
1025 | 1023 |
} |
1026 | 1024 |
|
1027 | 1025 |
public FeatureIndex createIndex(FeatureType featureType, |
Also available in: Unified diff