createComponentStats(container, component);
}
}
private void initEndpointListener(final JBIContainer container) {
endpointListener = new EndpointAdapter() {
public void internalEndpointRegistered(EndpointEvent event) {
createEndpointStats(container, (AbstractServiceEndpoint) event.getEndpoint());
}
public void internalEndpointUnregistered(EndpointEvent event) {
removeEndpointStats(container, (AbstractServiceEndpoint) event.getEndpoint());