Class LinkedComponentDescriptorExtensions

  • All Implemented Interfaces:
    Serializable

    public class LinkedComponentDescriptorExtensions
    extends Object
    implements Serializable

    This class defines Rhino-specific extensions applicable to virtual SLEE components that are simple links to other SLEE components. It is present as vendor-specific data in ComponentDescriptors obtained from Rhino.

    Since:
    Rhino 2.4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • LinkedComponentDescriptorExtensions

        public LinkedComponentDescriptorExtensions​(ComponentID linkTarget,
                                                   Date linkDate,
                                                   InstallLevel installLevel,
                                                   ComponentID[] incomingLinks,
                                                   ComponentID[] shadowing)

        Create a new linked component extension descriptor.

        Parameters:
        linkTarget - the identifier of the component that this component is a link to.
        linkDate - the date and time the link was created.
        installLevel - the current install level of the linked component.
        incomingLinks - the identifiers of the components that are links to this component.
        shadowing - the identifiers of the components that are shadowed by this component.
    • Method Detail

      • getLinkTarget

        public ComponentID getLinkTarget()

        Get the identifier of the component that this component links to.

        Returns:
        the identifier of the component that this component links to.
      • getLinkDate

        public Date getLinkDate()

        Get the date that the link was created.

        Returns:
        the date that the link was created.
      • getInstallLevel

        public InstallLevel getInstallLevel()

        Get the current install level of the linked component.

        Returns:
        the install level.
      • getIncomingLinks

        public ComponentID[] getIncomingLinks()

        Get the identifiers of the components that are links to this component.

        Returns:
        the identifiers of the components that are links to this component.
      • getShadowing

        public ComponentID[] getShadowing()

        Get the identifiers of the components that are shadowed by this component.

        Returns:
        the identifiers of the components that are shadowed by this component.