Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
further improvements for #216 to reduce hand-wired DI with a single b…
…lueprint ServletContextListener
- Loading branch information
Showing
4 changed files
with
22 additions
and
58 deletions.
There are no files selected for viewing
50 changes: 0 additions & 50 deletions
50
hawtio-default/src/main/java/io/hawt/insight/log4j/InsightContextListener.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | ||
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.2.0"> | ||
|
||
<!-- | ||
TODO add property injection from context parameters / system properties / env vars | ||
<ext:property-placeholder> | ||
<ext:default-properties> | ||
<ext:property name="name" value="value" /> | ||
<ext:property name="a" value="Hello " /> | ||
<ext:property name="b" value="FooBar" /> | ||
</ext:default-properties> | ||
<ext:location>classpath:test.properties</ext:location> | ||
</ext:property-placeholder> | ||
--> | ||
|
||
<bean id="logFacade" class="org.fusesource.insight.log.log4j.Log4jLogQuery" init-method="start" destroy-method="stop"> | ||
<!-- TODO configure size property from hawtio.log.size --> | ||
</bean> | ||
</blueprint> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters