Class Site

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Security.Permissions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Security.Permissions
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Security.Policy.Site
        See Also:
        Constant Field Values
      • classType

        public static org.mases.jcobridge.JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • Site

        public Site​(java.lang.Object instance)
             throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • Site

        public Site()
             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Site

        public Site​(java.lang.String name)
             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • setJCOInstance

        public void setJCOInstance​(org.mases.jcobridge.JCObject instance)
        Overrides:
        setJCOInstance in class EvidenceBase
      • cast

        public static Site cast​(IJCOBridgeReflected from)
                         throws java.lang.Throwable
        Try to cast the IJCOBridgeReflected instance into Site, a cast assert is made to check if types are compatible.
        Parameters:
        from - IJCOBridgeReflected instance to be casted
        Returns:
        Site instance
        Throws:
        java.lang.Throwable - in case of error during cast operation
      • Copy

        public NetObject Copy()
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CreateIdentityPermission

        public IPermission CreateIdentityPermission​(Evidence evidence)
                                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CreateFromUrl

        public static Site CreateFromUrl​(java.lang.String url)
                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getName

        public java.lang.String getName()
                                 throws java.lang.Throwable
        Throws:
        java.lang.Throwable