Class NativeProxyEntry

    • Method Detail

      • ofInterfaces

        public static NativeProxyEntry ofInterfaces​(Class<?>... types)
        Create a new NativeProxyEntry for the specified interface types.
        Parameters:
        types - the ordered list of interface types defining the proxy
        Returns:
        a proxy entry
      • ofClass

        public static NativeProxyEntry ofClass​(Class<?> classType,
                                               int proxyFeatures,
                                               Class<?>... interfaceTypes)
        Create a new NativeProxyEntry for the specified class type.
        Parameters:
        classType - the type of the class
        proxyFeatures - the proxy features as defined in ProxyBits
        interfaceTypes - the ordered list of interface types
        Returns:
        a proxy entry
      • ofInterfaceNames

        public static NativeProxyEntry ofInterfaceNames​(String... typeNames)
        Create a new NativeProxyEntry for the specified interface type names.
        Parameters:
        typeNames - the ordered list of type names defining the proxy
        Returns:
        a proxy entry
      • ofClassName

        public static NativeProxyEntry ofClassName​(String className,
                                                   int proxyFeatures,
                                                   String... interfaceTypeNames)
        Create a new NativeProxyEntry for the specified class name.
        Parameters:
        className - the type name of the class
        proxyFeatures - the proxy features as defined in ProxyBits
        interfaceTypeNames - the ordered list of interface type names
        Returns:
        a proxy entry
      • contribute

        public void contribute​(org.springframework.nativex.domain.proxies.ProxiesDescriptor descriptor)