Class CmsState


  • public class CmsState
    extends java.lang.Object
    Class representing the state information for component management.
    • Constructor Detail

      • CmsState

        public CmsState()
        Creates the state.
    • Method Detail

      • getCleanupFuture

        public IFuture<java.util.Map<java.lang.String,​java.lang.Object>> getCleanupFuture​(IComponentIdentifier cid)
        Convenience method to get the cleanup future of a component.
        Parameters:
        cid - The component ID.
        Returns:
        The cleanup future of a component.
      • getInitInfo

        public InitInfo getInitInfo​(IComponentIdentifier cid)
        Convenience method to get the init info of a component.
        Parameters:
        cid - The component ID.
        Returns:
        The init info of a component.
      • getLocalTypes

        public IRwMap<Tuple,​java.lang.String> getLocalTypes()
        Gets the local types.
        Returns:
        The local types.
      • getClassLoaders

        public IRwMap<IResourceIdentifier,​java.lang.ClassLoader> getClassLoaders()
        Gets the class loaders.
        Returns:
        The class loaders.
      • getCidCounts

        public IRwMap<java.lang.String,​java.lang.Integer> getCidCounts()
        Gets the cid counts.
        Returns:
        The cid counts.
      • readLock

        public IAutoLock readLock()
        Locks the read lock for resource-based locking.
      • writeLock

        public IAutoLock writeLock()
        Locks the write lock for resource-based locking.