public final class ServiceLocatorBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceLocatorBuilder.LocalServiceLocatorBuilder
Helper class to build local ServiceLocator instances
|
static class |
ServiceLocatorBuilder.RemoteServiceLocatorBuilder
Helper class to build remote ServiceLocator instances
|
| Constructor and Description |
|---|
ServiceLocatorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static ServiceLocatorBuilder.LocalServiceLocatorBuilder |
buildLocal()
Gets a builder to create a new Local ServiceLocator, i.e.
|
static ServiceLocatorBuilder.RemoteServiceLocatorBuilder |
buildRemote()
Gets a builder to create a new Remote ServiceLocator, i.e.
|
static JndiServiceLocator |
createRemoteByConfigurationFiles()
Builds a remote service locator based on the values of property files on the classpath
and system properties, in the following order:
System property
Optional resource: /ju-remote_user.properties
Default properties: /ju-remote.properties
Check the /ju-remote.properties file for the possible property keys.
|
public static ServiceLocatorBuilder.RemoteServiceLocatorBuilder buildRemote()
Uses remote-naming for the lookup.
public static JndiServiceLocator createRemoteByConfigurationFiles()
public static ServiceLocatorBuilder.LocalServiceLocatorBuilder buildLocal()
Copyright © 2014. All rights reserved.