public class LocalDMREndpoint extends DMREndpoint
| Constructor and Description |
|---|
LocalDMREndpoint(String name,
ModelControllerClientFactory localClientFactory)
If the caller does not yet know the local WildFly's identification, it can use this
constructor which takes a client factory as an argument.
|
LocalDMREndpoint(String name,
ServerIdentifiers selfId)
If the caller already knows the local WildFly's identification, it can use this
constructor which takes the known ServerIdentifiers object thus helping this
object avoid having to contact the management endpoint of the local WildFly
to obtain that information.
|
| Modifier and Type | Method and Description |
|---|---|
protected ModelControllerClientFactory |
getModelControllerClientFactory() |
ServerIdentifiers |
getServerIdentifiers()
Returns the server identification, connecting to the endpoint if it
has not been obtained yet.
|
getHost, getPassword, getPort, getSSLContext, getUsername, getUseSSL, toStringequals, getName, hashCodepublic LocalDMREndpoint(String name, ModelControllerClientFactory localClientFactory)
name - the name of the endpointlocalClientFactory - creates clients that will talk to the WildFly instance we are running inpublic LocalDMREndpoint(String name, ServerIdentifiers selfId)
name - the name of the endpointselfId - the known identification of the WildFly instance we are running inpublic ServerIdentifiers getServerIdentifiers()
DMREndpointgetServerIdentifiers in class DMREndpointDMREndpoint.getServerIdentifiers()protected ModelControllerClientFactory getModelControllerClientFactory()
getModelControllerClientFactory in class DMREndpointCopyright © 2015 Red Hat, Inc.. All rights reserved.