Class AbstractSkeleton

    • Constructor Detail

      • AbstractSkeleton

        protected AbstractSkeleton​(Class apiClass)
        Create a new hessian skeleton.
        Parameters:
        apiClass - the API interface
    • Method Detail

      • getAPIClassName

        public String getAPIClassName()
        Returns the API class of the current object.
      • getHomeClassName

        public String getHomeClassName()
        Returns the API class of the factory/home.
      • setHomeClass

        public void setHomeClass​(Class homeAPI)
        Sets the home API class.
      • getObjectClassName

        public String getObjectClassName()
        Returns the API class of the object URLs
      • setObjectClass

        public void setObjectClass​(Class objectAPI)
        Sets the object API class.
      • getMethod

        protected Method getMethod​(String mangledName)
        Returns the method by the mangled name.
        Parameters:
        mangledName - the name passed by the protocol
      • mangleName

        public static String mangleName​(Method method,
                                        boolean isFull)
        Creates a unique mangled method name based on the method name and the method parameters.
        Parameters:
        method - the method to mangle
        isFull - if true, mangle the full classname
        Returns:
        a mangled string.
      • mangleClass

        public static String mangleClass​(Class cl,
                                         boolean isFull)
        Mangles a classname.