Class JavaLoaderFactory

  • All Implemented Interfaces:
    com.sun.star.lang.XServiceInfo, com.sun.star.lang.XSingleServiceFactory, com.sun.star.uno.XInterface

    public class JavaLoaderFactory
    extends java.lang.Object
    implements com.sun.star.lang.XSingleServiceFactory, com.sun.star.lang.XServiceInfo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.sun.star.lang.XMultiServiceFactory multiServiceFactory  
      • Fields inherited from interface com.sun.star.lang.XServiceInfo

        UNOTYPEINFO
      • Fields inherited from interface com.sun.star.lang.XSingleServiceFactory

        UNOTYPEINFO
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaLoaderFactory​(com.sun.star.lang.XMultiServiceFactory factory)  
    • Field Detail

      • multiServiceFactory

        protected com.sun.star.lang.XMultiServiceFactory multiServiceFactory
    • Constructor Detail

      • JavaLoaderFactory

        public JavaLoaderFactory​(com.sun.star.lang.XMultiServiceFactory factory)
    • Method Detail

      • createInstance

        public java.lang.Object createInstance()
                                        throws com.sun.star.uno.Exception,
                                               com.sun.star.uno.RuntimeException
        Specified by:
        createInstance in interface com.sun.star.lang.XSingleServiceFactory
        Throws:
        com.sun.star.uno.Exception
        com.sun.star.uno.RuntimeException
      • createInstanceWithArguments

        public java.lang.Object createInstanceWithArguments​(java.lang.Object[] args)
                                                     throws com.sun.star.uno.Exception,
                                                            com.sun.star.uno.RuntimeException
        Specified by:
        createInstanceWithArguments in interface com.sun.star.lang.XSingleServiceFactory
        Throws:
        com.sun.star.uno.Exception
        com.sun.star.uno.RuntimeException
      • getImplementationName

        public java.lang.String getImplementationName()
                                               throws com.sun.star.uno.RuntimeException
        Implements the XServiceInfo interface.
        Specified by:
        getImplementationName in interface com.sun.star.lang.XServiceInfo
        Throws:
        com.sun.star.uno.RuntimeException
      • supportsService

        public boolean supportsService​(java.lang.String serviceName)
                                throws com.sun.star.uno.RuntimeException
        Implements the XServiceInfo interface.
        Specified by:
        supportsService in interface com.sun.star.lang.XServiceInfo
        Throws:
        com.sun.star.uno.RuntimeException
      • getSupportedServiceNames

        public java.lang.String[] getSupportedServiceNames()
                                                    throws com.sun.star.uno.RuntimeException
        Implements the XServiceInfo interface.
        Specified by:
        getSupportedServiceNames in interface com.sun.star.lang.XServiceInfo
        Throws:
        com.sun.star.uno.RuntimeException