com.ibm.ws.container.service.metadata

Interface MetaDataService


  1. public interface MetaDataService
Service for firing metadata events to listeners. This service should only by used by the container that creates a metadata object.

Method Summary

Modifier and Type Method and Description
  1. void
fireApplicationMetaDataCreated(ApplicationMetaData metaData,Container container)
  1. void
fireApplicationMetaDataDestroyed(ApplicationMetaData metaData)
Call ApplicationMetaDataListener#applicationMetaDestroyed for all registered listeners.
  1. void
fireComponentMetaDataCreated(ComponentMetaData metaData)
  1. void
fireComponentMetaDataDestroyed(ComponentMetaData metaData)
Call ComponentMetaDataListener#componentMetaDestroyed for all registered listeners.
  1. void
fireMethodMetaDataCreated(MethodMetaData metaData)
  1. void
fireMethodMetaDataDestroyed(MethodMetaData metaData)
Call MethodMetaDataListener#methodMetaDestroyed for all registered listeners.
  1. void
fireModuleMetaDataCreated(ModuleMetaData metaData,Container container)
  1. void
fireModuleMetaDataDestroyed(ModuleMetaData metaData)
Call ModuleMetaDataListener#moduleMetaDestroyed for all registered listeners.

Method Detail

fireApplicationMetaDataCreated

  1. void fireApplicationMetaDataCreated( ApplicationMetaData metaData,
  2. Container container)
  3. throws MetaDataException
Call ApplicationMetaDataListener.applicationMetaDataCreated(com.ibm.ws.container.service.metadata.MetaDataEvent) for all registered listeners. If any listener throws an exception, then fireApplicationMetaDataDestroyed(ApplicationMetaData) will be called and MetaDataException will be thrown. This method must be called before any corresponding ModuleMetaData are created.
Parameters:
metaData - the metadata
container - the application container
Throws:
MetaDataException - if a listener threw an exception

fireApplicationMetaDataDestroyed

  1. void fireApplicationMetaDataDestroyed( ApplicationMetaData metaData)
Call ApplicationMetaDataListener#applicationMetaDestroyed for all registered listeners. Any exceptions thrown by listeners will be ignored. This method must only be called after all corresponding ModuleMetaData have been destroyed.
Parameters:
metaData - the metadata

fireModuleMetaDataCreated

  1. void fireModuleMetaDataCreated( ModuleMetaData metaData,
  2. Container container)
  3. throws MetaDataException
Call ModuleMetaDataListener.moduleMetaDataCreated(com.ibm.ws.container.service.metadata.MetaDataEvent) for all registered listeners. If any listener throws an exception, then fireModuleMetaDataDestroyed(ModuleMetaData) will be called and MetaDataException will be thrown. This method must be called before any corresponding ComponentMetaData are created.
Parameters:
metaData - the metadata
container - the module container
Throws:
MetaDataException - if a listener threw an exception

fireModuleMetaDataDestroyed

  1. void fireModuleMetaDataDestroyed( ModuleMetaData metaData)
Call ModuleMetaDataListener#moduleMetaDestroyed for all registered listeners. Any exceptions thrown by listeners will be ignored. This method must only be called after all corresponding ComponentMetaData have been destroyed.
Parameters:
metaData - the metadata

fireComponentMetaDataCreated

  1. void fireComponentMetaDataCreated( ComponentMetaData metaData)
  2. throws MetaDataException
Call ComponentMetaDataListener.componentMetaDataCreated(com.ibm.ws.container.service.metadata.MetaDataEvent) for all registered listeners. If any listener throws an exception, then fireComponentMetaDataDestroyed(ComponentMetaData) will be called and MetaDataException will be thrown. This method must be called before any corresponding MethodMetaData are created.
Parameters:
metaData - the metadata
Throws:
MetaDataException - if a listener threw an exception

fireComponentMetaDataDestroyed

  1. void fireComponentMetaDataDestroyed( ComponentMetaData metaData)
Call ComponentMetaDataListener#componentMetaDestroyed for all registered listeners. Any exceptions thrown by listeners will be ignored. This method must only be called after all corresponding MethodMetaData have been destroyed.
Parameters:
metaData - the metadata

fireMethodMetaDataCreated

  1. void fireMethodMetaDataCreated( MethodMetaData metaData)
  2. throws MetaDataException
Call MethodMetaDataListener.methodMetaDataCreated(com.ibm.ws.container.service.metadata.MetaDataEvent) for all registered listeners. If any listener throws an exception, then fireMethodMetaDataDestroyed(MethodMetaData) will be called and MetaDataException will be thrown.
Parameters:
metaData - the metadata
Throws:
MetaDataException - if a listener threw an exception

fireMethodMetaDataDestroyed

  1. void fireMethodMetaDataDestroyed( MethodMetaData metaData)
Call MethodMetaDataListener#methodMetaDestroyed for all registered listeners. Any exceptions thrown by listeners will be ignored.
Parameters:
metaData - the metadata