| Modifier and Type | Field and Description |
|---|---|
| private static final ServiceLoaderUtil. | |
| private static final Logger | |
| private static final String | |
| private static final PrivilegedAction |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> T | Returns: theClass object of the specified message factory;
may not be nullfactory abstract class or interface to be found factoryClass, String the implementation class name, which is
to be used only if nothing else
is found; defaultClassName, boolean null to indicate
that there is no default class namewhether to try the default class as a
fallback tryFallback)Finds the implementation |
| private static String | |
| private static ClassLoader | |
| private static ClassLoader | |
| private static String | |
| private static boolean | |
| private static void | |
| private static <T> T | |
| private static Object | |
| pack-priv static URL | |
| pack-priv static URL | Returns: the URL for the class or null if it wasn't foundThe class to search for clazz, ClassLoader The ClassLoader to search. If this parameter is null, then the
system class loader will be searched loader)Search the given ClassLoader for an instance of the specified class and return a string representation of the URL that points to the resource. |
| EXCEPTION_HANDLER | back to summary |
|---|---|
| private static final ServiceLoaderUtil. | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| OSGI_SERVICE_LOADER_CLASS_NAME | back to summary |
|---|---|
| private static final String OSGI_SERVICE_LOADER_CLASS_NAME | |
| propertyAction | back to summary |
|---|---|
| private static final PrivilegedAction<String> propertyAction | |
| FactoryFinder | back to summary |
|---|---|
| pack-priv FactoryFinder() | |
| find | back to summary |
|---|---|
| pack-priv static <T> T find(Class<T> factoryClass, String defaultClassName, boolean tryFallback) throws SOAPException Finds the implementation This method is package private so that this code can be shared.
| |
| fromSystemProperty | back to summary |
|---|---|
| private static String fromSystemProperty(String factoryId) | |
| getClassClassLoader | back to summary |
|---|---|
| private static ClassLoader getClassClassLoader(final Class<?> c) | |
| getSystemClassLoader | back to summary |
|---|---|
| private static ClassLoader getSystemClassLoader() | |
| getSystemProperty | back to summary |
|---|---|
| private static String getSystemProperty(final String property) | |
| isOsgi | back to summary |
|---|---|
| private static boolean isOsgi() | |
| logFound | back to summary |
|---|---|
| private static void logFound(String value) | |
| lookupUsingOSGiServiceLoader | back to summary |
|---|---|
| private static <T> T lookupUsingOSGiServiceLoader(String factoryId) | |
| newInstance | back to summary |
|---|---|
| private static Object newInstance(String className, String defaultClassName, ClassLoader tccl) throws SOAPException | |
| which | back to summary |
|---|---|
| pack-priv static URL which(Class<?> clazz) Get the URL for the Class from it's ClassLoader.
Convenience method for | |
| which | back to summary |
|---|---|
| pack-priv static URL which(Class<?> clazz, ClassLoader loader) Search the given ClassLoader for an instance of the specified class and return a string representation of the URL that points to the resource.
| |