com.ibm.ws.container.service.metadata

Interface MetaDataSlotService


  1. public interface MetaDataSlotService
Service for arbitrary services to reserve storage in metadata objects. It is expected that a metadata listener service will reserve a slot when it is instantiated, populate the slot with its data when the metadata is created, obtain its data at runtime when either passed a metadata object from a container or from the active component via ComponentMetaDataAccessorImpl, and clean up its metadata when the metadata is destroyed.

Method Summary

Modifier and Type Method and Description
  1. MetaDataSlot
reserveMetaDataSlot(java.lang.Class<? extends MetaData> metaDataClass)
Reserve a slot in all metadata objects of the specified type.

Method Detail

reserveMetaDataSlot

  1. MetaDataSlot reserveMetaDataSlot( java.lang.Class<? extends MetaData> metaDataClass)
Reserve a slot in all metadata objects of the specified type.
Parameters:
metaDataClass - ApplicationMetaData, ModuleMetaData, ComponentMetaData, or MethodMetaData
Returns:
the slot