sun.misc
Class Service
java.lang.Object
sun.misc.Service
public class Service
- extends java.lang.Object
The Service class is a primitive stub of the original
sun.misc.Service class used by the
javax.script.ScriptEngineManager to find script engine
factories in factory service files.
This stub is provided because the original class is not part of the official
Java API and may not be available on all platforms. In addition even if the
class would be available on the Java platform, it may not be visible inside
the OSGi framework. Finally, the org.apache.sling.scripting.resolver
bundle implements its own resolution of script engine factories and thus the
Service method is not used.
|
Method Summary |
static
<ProviderType>
java.util.Iterator<ProviderType> |
|
providers(java.lang.Class<ProviderType> type,
java.lang.ClassLoader loader)
Returns an empty iterator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Service
public Service()
providers
public static <ProviderType> java.util.Iterator<ProviderType> providers(java.lang.Class<ProviderType> type,
java.lang.ClassLoader loader)
throws java.io.IOException
- Returns an empty iterator
- Throws:
java.io.IOException
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.