Package com.sun.star.comp.loader
Class JavaLoaderFactory
- java.lang.Object
-
- com.sun.star.comp.loader.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
-
Constructor Summary
Constructors Constructor Description JavaLoaderFactory(com.sun.star.lang.XMultiServiceFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createInstance()
java.lang.Object
createInstanceWithArguments(java.lang.Object[] args)
java.lang.String
getImplementationName()
Implements the XServiceInfo interface.java.lang.String[]
getSupportedServiceNames()
Implements the XServiceInfo interface.boolean
supportsService(java.lang.String serviceName)
Implements the XServiceInfo interface.
-
-
-
Method Detail
-
createInstance
public java.lang.Object createInstance() throws com.sun.star.uno.Exception, com.sun.star.uno.RuntimeException
- Specified by:
createInstance
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.sun.star.lang.XServiceInfo
- Throws:
com.sun.star.uno.RuntimeException
-
-