public interface ContainerObserver
ContainerObserver
observes operations performed by a Container
instance.Modifier and Type | Method and Description |
---|---|
void |
componentStarted(Component component,
Container container)
|
void |
componentStopped(Component component,
Container container)
|
void |
containerStarted(Container container)
Called by a
Container when it was started. |
void |
containerStopped(Container container)
Called by a
Container when it was stopped. |
void |
exceptionCaught(ComponentConfigurator componentConfigurator,
Container container,
java.lang.Exception cause)
|
void |
exceptionCaught(Component component,
Container container,
java.lang.Exception cause)
|
void |
exceptionCaught(ComponentFilter componentFilter,
Container container,
java.lang.Exception cause)
|
void |
exceptionCaught(ComponentLoader componentLoader,
Container container,
java.lang.Exception cause)
|
void componentStarted(Component component, Container container)
component
- the Component
that was startedcontainer
- the Container
that called this methodvoid componentStopped(Component component, Container container)
component
- the Component
that was stoppedcontainer
- the Container
that called this methodvoid containerStarted(Container container)
Container
when it was started.container
- the Container
that called this methodvoid containerStopped(Container container)
Container
when it was stopped.container
- the Container
that called this methodvoid exceptionCaught(Component component, Container container, java.lang.Exception cause)
component
- the Component
that caused the Exception
container
- the Container
that called this methodcause
- the Exception
that was caughtvoid exceptionCaught(ComponentConfigurator componentConfigurator, Container container, java.lang.Exception cause)
componentConfigurator
- the ComponentConfigurator
that caused the Exception
container
- the Container
that called this methodcause
- the Exception
that was caughtvoid exceptionCaught(ComponentFilter componentFilter, Container container, java.lang.Exception cause)
componentFilter
- the ComponentFilter
that caused the Exception
container
- the Container
that called this methodcause
- the Exception
that was caughtvoid exceptionCaught(ComponentLoader componentLoader, Container container, java.lang.Exception cause)
componentLoader
- the ComponentLoader
that caused the Exception
container
- the Container
that called this methodcause
- the Exception
that was caught