public final class RemoteNamingProvider extends Object implements NamingProvider
NamingProvider.Location| Modifier and Type | Method and Description |
|---|---|
org.jboss.remoting3.Endpoint |
getEndpoint()
Get the Remoting endpoint for this provider.
|
org.xnio.IoFuture<org.jboss.remoting3.ConnectionPeerIdentity> |
getFuturePeerIdentity(NamingProvider.Location location)
Get the future connection peer identity.
|
List<NamingProvider.Location> |
getLocations()
Get the location(s) of this provider.
|
org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentity(NamingProvider.Location location)
Get the connection peer identity.
|
org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentityForNaming()
Get the connection peer identity for a naming operation.
|
org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentityForNaming(NamingProvider.Location location)
Get the connection peer identity for a naming operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getAuthenticationConfiguration, getCurrentNamingProvider, getProviderUri, getSSLContext, performAction, performExceptionActionpublic org.jboss.remoting3.Endpoint getEndpoint()
null)public List<NamingProvider.Location> getLocations()
NamingProvidergetLocations in interface NamingProvidernull or empty)public org.jboss.remoting3.ConnectionPeerIdentity getPeerIdentityForNaming()
throws NamingException
immediate, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.getPeerIdentityForNaming in interface NamingProvidernull)NamingException - if connecting, authenticating, or re-authenticating the peer failedpublic org.jboss.remoting3.ConnectionPeerIdentity getPeerIdentityForNaming(NamingProvider.Location location) throws NamingException
immediate, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.getPeerIdentityForNaming in interface NamingProviderlocation - a location from getLocations() (must not be null)null)NamingException - if connecting, authenticating, or re-authenticating the peer failedpublic org.jboss.remoting3.ConnectionPeerIdentity getPeerIdentity(NamingProvider.Location location) throws IOException
immediate, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.location - a location from getLocations() (must not be null)null)org.wildfly.security.auth.AuthenticationException - if authenticating or re-authenticating the peer failedIOException - if connecting the peer failedpublic org.xnio.IoFuture<org.jboss.remoting3.ConnectionPeerIdentity> getFuturePeerIdentity(NamingProvider.Location location)
immediate, then the connection
will not actually be established until this method is called. The resultant connection should be closed and
discarded in the event of an error, in order to facilitate automatic reconnection.null)Copyright © 2017 JBoss by Red Hat. All rights reserved.