|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.mavenplugin.EasyBeansServerFactory
public final class EasyBeansServerFactory
Provide an access to local or remote instance of EasyBeans.
Method Summary | |
---|---|
static org.ow2.util.maven.plugin.deployment.api.IPluginServer |
getLaunchedServer(java.lang.String configXmlFile,
java.util.List<java.lang.String> partialConfigXmlFiles,
java.lang.String hostname,
int stopPort,
boolean supportAllPersistenceManager,
org.ow2.util.maven.plugin.deployment.maven.MavenArtifactResolver resolver)
Get an instance of launched EasyBeans server. |
static org.ow2.util.maven.plugin.deployment.api.IPluginServer |
getLocalLaunchedServer(java.lang.String configXmlFile,
java.util.List<java.lang.String> partialConfigXmlFiles,
boolean supportAllPersistenceManager,
org.ow2.util.maven.plugin.deployment.maven.MavenArtifactResolver resolver)
Create and launch a local EasyBeans server instance with specified XML core and configuration files. |
static org.ow2.util.maven.plugin.deployment.api.IPluginServer |
getRemoteLaunchedServer(java.lang.String hostname,
int stopPort)
Get an instance of launched remote EasyBeans server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.ow2.util.maven.plugin.deployment.api.IPluginServer getLocalLaunchedServer(java.lang.String configXmlFile, java.util.List<java.lang.String> partialConfigXmlFiles, boolean supportAllPersistenceManager, org.ow2.util.maven.plugin.deployment.maven.MavenArtifactResolver resolver) throws org.apache.maven.plugin.MojoExecutionException
configXmlFile
- Path of EasyBeans XML configuration filepartialConfigXmlFiles
- Path list of partial EasyBeans XML
configuration file.supportAllPersistenceManager
- Determine if all supported
persistence providers dependencies are automatically added
to the plugin classloader at the server launch.resolver
- An artifact resolver
org.apache.maven.plugin.MojoExecutionException
- Execution errorpublic static org.ow2.util.maven.plugin.deployment.api.IPluginServer getRemoteLaunchedServer(java.lang.String hostname, int stopPort) throws org.apache.maven.plugin.MojoExecutionException
hostname
- Domaine name used to contact EasyBeans.stopPort
- Port number used to contact EasyBeans.
org.apache.maven.plugin.MojoExecutionException
public static org.ow2.util.maven.plugin.deployment.api.IPluginServer getLaunchedServer(java.lang.String configXmlFile, java.util.List<java.lang.String> partialConfigXmlFiles, java.lang.String hostname, int stopPort, boolean supportAllPersistenceManager, org.ow2.util.maven.plugin.deployment.maven.MavenArtifactResolver resolver) throws org.apache.maven.plugin.MojoExecutionException
configXmlFile
- Path of EasyBeans XML configuration filepartialConfigXmlFiles
- Path list of partial EasyBeans XML
configuration file.hostname
- Domaine name used to contact EasyBeansstopPort
- Port number used to contact EasyBeans
org.apache.maven.plugin.MojoExecutionException
- Execution error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |