com.sun.star.comp.servicemanager
Class ServiceManager
java.lang.Object
|
+--com.sun.star.comp.servicemanager.ServiceManager
- All Implemented Interfaces:
- com.sun.star.lang.XComponent, com.sun.star.container.XContentEnumerationAccess, com.sun.star.container.XElementAccess, com.sun.star.container.XEnumerationAccess, com.sun.star.lang.XInitialization, com.sun.star.uno.XInterface, com.sun.star.lang.XMultiServiceFactory, com.sun.star.lang.XServiceInfo, com.sun.star.container.XSet
- public synchronized class ServiceManager
- extends java.lang.Object
- implements com.sun.star.lang.XComponent, com.sun.star.container.XContentEnumerationAccess, com.sun.star.lang.XInitialization, com.sun.star.lang.XMultiServiceFactory, com.sun.star.lang.XServiceInfo, com.sun.star.container.XSet
Field Summary |
private static boolean |
DEBUG
|
(package private) static java.lang.Class |
class$com$sun$star$comp$loader$JavaLoader
|
(package private) static java.lang.Class |
class$com$sun$star$comp$servicemanager$ServiceManager
|
(package private) static java.lang.Class |
class$com$sun$star$lang$XMultiServiceFactory
|
(package private) static java.lang.Class |
class$com$sun$star$lang$XServiceInfo
|
(package private) static java.lang.Class |
class$com$sun$star$lang$XSingleServiceFactory
|
(package private) static java.lang.Class |
class$com$sun$star$registry$XRegistryKey
|
(package private) static java.lang.Class |
class$java$lang$String
|
(package private) java.util.Vector |
eventListener
|
(package private) java.util.Hashtable |
factoriesByImplNames
|
(package private) java.util.Hashtable |
factoriesByServiceNames
|
(package private) com.sun.star.comp.loader.JavaLoader |
loader
|
(package private) static java.lang.String[] |
supportedServiceNames
|
Fields inherited from interface com.sun.star.lang.XComponent |
UIK, UNORUNTIMEDATA, UNOTYPEINFO |
Fields inherited from interface com.sun.star.container.XContentEnumerationAccess |
UIK, UNORUNTIMEDATA, UNOTYPEINFO |
Fields inherited from interface com.sun.star.lang.XInitialization |
UIK, UNORUNTIMEDATA, UNOTYPEINFO |
Fields inherited from interface com.sun.star.lang.XMultiServiceFactory |
UIK, UNORUNTIMEDATA, UNOTYPEINFO |
Fields inherited from interface com.sun.star.lang.XServiceInfo |
UIK, UNORUNTIMEDATA |
Fields inherited from interface com.sun.star.container.XSet |
UIK, UNORUNTIMEDATA, UNOTYPEINFO |
Constructor Summary |
ServiceManager()
|
Method Summary |
private static void |
DEBUG(java.lang.String s)
|
void |
addEventListener(com.sun.star.lang.XEventListener xel)
|
void |
addFactories(java.lang.String[] s)
|
(package private) static java.lang.Class |
class$(java.lang.String s)
|
com.sun.star.container.XEnumeration |
createContentEnumeration(java.lang.String s)
|
com.sun.star.container.XEnumeration |
createEnumeration()
|
java.lang.Object |
createInstance(java.lang.String s)
|
java.lang.Object |
createInstanceWithArguments(java.lang.String s,
java.lang.Object[] o)
|
void |
dispose()
|
java.lang.String[] |
getAvailableServiceNames()
|
com.sun.star.uno.Type |
getElementType()
|
java.lang.String |
getImplementationName()
|
static com.sun.star.lang.XSingleServiceFactory |
getServiceFactory(java.lang.String s,
com.sun.star.lang.XMultiServiceFactory xmsf,
com.sun.star.registry.XRegistryKey xrk)
|
java.lang.String[] |
getSupportedServiceNames()
|
boolean |
has(java.lang.Object o)
|
boolean |
hasElements()
|
void |
initialize(java.lang.Object[] o)
|
void |
insert(java.lang.Object o)
|
private com.sun.star.lang.XSingleServiceFactory |
queryServiceFactory(java.lang.String s)
|
void |
remove(java.lang.Object o)
|
void |
removeEventListener(com.sun.star.lang.XEventListener xel)
|
boolean |
supportsService(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static final boolean DEBUG
class$com$sun$star$comp$loader$JavaLoader
static java.lang.Class class$com$sun$star$comp$loader$JavaLoader
class$com$sun$star$comp$servicemanager$ServiceManager
static java.lang.Class class$com$sun$star$comp$servicemanager$ServiceManager
class$com$sun$star$lang$XMultiServiceFactory
static java.lang.Class class$com$sun$star$lang$XMultiServiceFactory
class$com$sun$star$lang$XServiceInfo
static java.lang.Class class$com$sun$star$lang$XServiceInfo
class$com$sun$star$lang$XSingleServiceFactory
static java.lang.Class class$com$sun$star$lang$XSingleServiceFactory
class$com$sun$star$registry$XRegistryKey
static java.lang.Class class$com$sun$star$registry$XRegistryKey
class$java$lang$String
static java.lang.Class class$java$lang$String
eventListener
java.util.Vector eventListener
factoriesByImplNames
java.util.Hashtable factoriesByImplNames
factoriesByServiceNames
java.util.Hashtable factoriesByServiceNames
loader
com.sun.star.comp.loader.JavaLoader loader
supportedServiceNames
static java.lang.String[] supportedServiceNames
ServiceManager
public ServiceManager()
DEBUG
private static final void DEBUG(java.lang.String s)
addEventListener
public void addEventListener(com.sun.star.lang.XEventListener xel)
throws com.sun.star.uno.RuntimeException
- Specified by:
addEventListener
in interface com.sun.star.lang.XComponent
addFactories
public void addFactories(java.lang.String[] s)
class$
static java.lang.Class class$(java.lang.String s)
createContentEnumeration
public com.sun.star.container.XEnumeration createContentEnumeration(java.lang.String s)
throws com.sun.star.uno.RuntimeException
- Specified by:
createContentEnumeration
in interface com.sun.star.container.XContentEnumerationAccess
createEnumeration
public com.sun.star.container.XEnumeration createEnumeration()
throws com.sun.star.uno.RuntimeException
- Specified by:
createEnumeration
in interface com.sun.star.container.XEnumerationAccess
createInstance
public java.lang.Object createInstance(java.lang.String s)
throws com.sun.star.uno.Exception,
com.sun.star.uno.RuntimeException
- Specified by:
createInstance
in interface com.sun.star.lang.XMultiServiceFactory
createInstanceWithArguments
public java.lang.Object createInstanceWithArguments(java.lang.String s,
java.lang.Object[] o)
throws com.sun.star.uno.Exception,
com.sun.star.uno.RuntimeException
- Specified by:
createInstanceWithArguments
in interface com.sun.star.lang.XMultiServiceFactory
dispose
public void dispose()
throws com.sun.star.uno.RuntimeException
- Specified by:
dispose
in interface com.sun.star.lang.XComponent
getAvailableServiceNames
public java.lang.String[] getAvailableServiceNames()
throws com.sun.star.uno.RuntimeException
- Specified by:
getAvailableServiceNames
in interface com.sun.star.container.XContentEnumerationAccess
getElementType
public com.sun.star.uno.Type getElementType()
throws com.sun.star.uno.RuntimeException
- Specified by:
getElementType
in interface com.sun.star.container.XElementAccess
getImplementationName
public java.lang.String getImplementationName()
throws com.sun.star.uno.RuntimeException
- Specified by:
getImplementationName
in interface com.sun.star.lang.XServiceInfo
getServiceFactory
public static com.sun.star.lang.XSingleServiceFactory getServiceFactory(java.lang.String s,
com.sun.star.lang.XMultiServiceFactory xmsf,
com.sun.star.registry.XRegistryKey xrk)
getSupportedServiceNames
public java.lang.String[] getSupportedServiceNames()
throws com.sun.star.uno.RuntimeException
- Specified by:
getSupportedServiceNames
in interface com.sun.star.lang.XServiceInfo
has
public boolean has(java.lang.Object o)
throws com.sun.star.uno.RuntimeException
- Specified by:
has
in interface com.sun.star.container.XSet
hasElements
public boolean hasElements()
- Specified by:
hasElements
in interface com.sun.star.container.XElementAccess
initialize
public void initialize(java.lang.Object[] o)
throws com.sun.star.uno.Exception,
com.sun.star.uno.RuntimeException
- Specified by:
initialize
in interface com.sun.star.lang.XInitialization
insert
public void insert(java.lang.Object o)
throws com.sun.star.lang.IllegalArgumentException,
com.sun.star.container.ElementExistException,
com.sun.star.uno.RuntimeException
- Specified by:
insert
in interface com.sun.star.container.XSet
queryServiceFactory
private com.sun.star.lang.XSingleServiceFactory queryServiceFactory(java.lang.String s)
throws com.sun.star.uno.Exception,
com.sun.star.uno.RuntimeException
remove
public void remove(java.lang.Object o)
throws com.sun.star.lang.IllegalArgumentException,
com.sun.star.container.NoSuchElementException,
com.sun.star.uno.RuntimeException
- Specified by:
remove
in interface com.sun.star.container.XSet
removeEventListener
public void removeEventListener(com.sun.star.lang.XEventListener xel)
throws com.sun.star.uno.RuntimeException
- Specified by:
removeEventListener
in interface com.sun.star.lang.XComponent
supportsService
public boolean supportsService(java.lang.String s)
throws com.sun.star.uno.RuntimeException
- Specified by:
supportsService
in interface com.sun.star.lang.XServiceInfo