com.ibm.ws.container.service.metadata
Interface MetaDataSlotService
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 |
com.ibm.ws.runtime.metadata.MetaDataSlot |
reserveMetaDataSlot(java.lang.Class<? extends com.ibm.ws.runtime.metadata.MetaData> metaDataClass)
Reserve a slot in all metadata objects of the specified type. |
reserveMetaDataSlot
com.ibm.ws.runtime.metadata.MetaDataSlot reserveMetaDataSlot(java.lang.Class<? extends com.ibm.ws.runtime.metadata.MetaData> metaDataClass)
- Reserve a slot in all metadata objects of the specified type.
- Parameters:
metaDataClass
- ApplicationMetaData
, ModuleMetaData
, ComponentMetaData
, or MethodMetaData
- Returns:
- the slot