001    package org.kuali.rice.kim.bo.role.dto;
002    
003    import javax.xml.bind.annotation.XmlRegistry;
004    
005    /**
006     * NOTE: This class only exists as workaround to calling PermissionService see rice bug https://jira.kuali.org/browse/KULRICE-5957.
007     * 
008     * This class should be removed once the bug is fixed.
009     * 
010     * @author Kuali Student Team
011     *
012     */
013    @XmlRegistry
014    public class ObjectFactory {
015    
016        public ObjectFactory() {
017        }
018    
019        public KimPermissionInfo createKimPermissionInfo() {
020            return new KimPermissionInfo();
021        }
022    
023        public KimPermissionTemplateInfo createKimPermissionTemplateInfo() {
024            return new KimPermissionTemplateInfo();
025        }
026    }