[Minor] Made StrolchComponent.getConfiguration() public
This commit is contained in:
parent
d856f55eff
commit
1ade695e9b
|
@ -101,7 +101,7 @@ public class StrolchComponent {
|
|||
*
|
||||
* @return the reference to the container
|
||||
*/
|
||||
protected ComponentContainer getContainer() {
|
||||
public ComponentContainer getContainer() {
|
||||
DBC.PRE.assertNotNull("container is null!", this.container);
|
||||
return this.container;
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ public class StrolchComponent {
|
|||
*
|
||||
* @return the component's configuration
|
||||
*/
|
||||
protected ComponentConfiguration getConfiguration() {
|
||||
public ComponentConfiguration getConfiguration() {
|
||||
return this.configuration;
|
||||
}
|
||||
|
||||
|
|
|
@ -191,11 +191,6 @@ public class RestfulStrolchComponent extends StrolchComponent {
|
|||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ComponentContainer getContainer() {
|
||||
return super.getContainer();
|
||||
}
|
||||
|
||||
public StrolchAgent getAgent() {
|
||||
return super.getContainer().getAgent();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue