com.ibm.ws.container.service.metadata

Class MetaDataUtils

  1. java.lang.Object
  2. extended bycom.ibm.ws.container.service.metadata.MetaDataUtils

  1. public class MetaDataUtils
  2. extends java.lang.Object

Constructor Summary

Constructor and Description
MetaDataUtils()

Method Summary

Modifier and Type Method and Description
  1. static
  2. boolean
copyModuleMetaDataSlot(MetaDataEvent<ModuleMetaData> event,MetaDataSlot slot)
Copy slot data from a primary module metadata to a nested module metadata.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MetaDataUtils

  1. public MetaDataUtils()

Method Detail

copyModuleMetaDataSlot

  1. public static boolean copyModuleMetaDataSlot( MetaDataEvent<ModuleMetaData> event,
  2. MetaDataSlot slot)
Copy slot data from a primary module metadata to a nested module metadata. This is necessary for containers that want to share module-level data for all components in a module, because nested modules have their own distinct metadata.
Parameters:
slot - the slot to copy
Returns:
if the data was copied, or false if this is the primary metadata and the caller must set the slot data
Throws:
java.lang.IllegalStateException - if the primary metadata slot was not set