Package org.iplass.mtp.runtime
Interface EntryPointBuilder
public interface EntryPointBuilder
Builder of EntryPoint.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a EntryPoint.Specify the path of the configuration file (service-config.xml).To encrypt service-config.xml, specify the path of the encryption configuration file (crypt.properties).Specify the ConfigLoader class name to load the configuration file.Set the iPLAss Bootstrap property.serverEnvFile
(String serverEnvFile) Specify the path of the property file where the iPLAss Bootstrap property is specified.Specify the serverId of this iPLAsss instance.serverRole
(String... serverRole) Specify the serverRole of this iPLAsss instance as needed.
-
Method Details
-
build
EntryPoint build()Build a EntryPoint. If there is an EntryPoint that has already been initialized, an AlreadyInitializedException is thrown.- Returns:
- EntryPoint instance
- Throws:
AlreadyInitializedException
- When EntryPoint has already been initialized
-
serverEnvFile
Specify the path of the property file where the iPLAss Bootstrap property is specified. If serverEnvFile is not specified, system properties are used as Bootstrap properties.- Parameters:
serverEnvFile
-- Returns:
-
serverId
Specify the serverId of this iPLAsss instance. If not specified, the Host name will be serverId.- Parameters:
serverId
-- Returns:
-
serverRole
Specify the serverRole of this iPLAsss instance as needed.- Parameters:
serverRole
-- Returns:
-
config
Specify the path of the configuration file (service-config.xml). If not specified, the default value is "/mtp-service-config.xml".- Parameters:
configFileName
-- Returns:
-
crypt
To encrypt service-config.xml, specify the path of the encryption configuration file (crypt.properties).- Parameters:
configCryptFileName
-- Returns:
-
loader
Specify the ConfigLoader class name to load the configuration file. If not specified, the default loader will be used.- Parameters:
loaderClassName
-- Returns:
-
property
Set the iPLAss Bootstrap property.- Parameters:
name
-value
-- Returns:
-