public class AdminFactory extends Object
Modifier and Type | Class and Description |
---|---|
class |
AdminFactory.AdminImpl |
Constructor and Description |
---|
AdminFactory() |
Modifier and Type | Method and Description |
---|---|
Admin |
createAdmin(org.jboss.as.controller.client.ModelControllerClient connection) |
Admin |
createAdmin(org.jboss.as.controller.client.ModelControllerClient connection,
String profileName)
Name of the domain mode profile.
|
Admin |
createAdmin(String host,
int port,
String userName,
char[] password)
Creates a ServerAdmin with the specified connection properties.
|
Admin |
createAdmin(String host,
int port,
String userName,
char[] password,
String profileName)
Creates a ServerAdmin with the specified connection properties.
|
static AdminFactory |
getInstance() |
public static AdminFactory getInstance()
public Admin createAdmin(String host, int port, String userName, char[] password, String profileName) throws AdminException
userName
- password
- host
- port
- profileName
- - Name of the domain mode profileAdminException
public Admin createAdmin(String host, int port, String userName, char[] password) throws AdminException
userName
- password
- host
- port
- AdminException
public Admin createAdmin(org.jboss.as.controller.client.ModelControllerClient connection)
Copyright © 2019. All rights reserved.