Skip to content

Commit df849b3

Browse files
committed
Fix to compile against new ContainerLifecycleListener API
1 parent 2b0428c commit df849b3

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

bootstrap/src/main/java/org/jboss/forge/bootstrap/listener/GreetingListener.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,31 @@ public void beforeStart(Furnace furnace) throws ContainerException
4444
}
4545

4646
@Override
47-
public void beforeStop(Furnace forge) throws ContainerException
47+
public void afterStart(Furnace furnace) throws ContainerException
4848
{
4949
// Do nothing
5050
}
5151

5252
@Override
53-
public void afterStop(Furnace forge) throws ContainerException
53+
public void beforeStop(Furnace furnace) throws ContainerException
5454
{
5555
// Do nothing
5656
}
5757

5858
@Override
59-
public void beforeConfigurationScan(Furnace forge) throws ContainerException
59+
public void afterStop(Furnace furnace) throws ContainerException
6060
{
6161
// Do nothing
6262
}
6363

6464
@Override
65-
public void afterConfigurationScan(Furnace forge) throws ContainerException
65+
public void beforeConfigurationScan(Furnace furnace) throws ContainerException
66+
{
67+
// Do nothing
68+
}
69+
70+
@Override
71+
public void afterConfigurationScan(Furnace furnace) throws ContainerException
6672
{
6773
// Do nothing
6874
}

0 commit comments

Comments
 (0)