public final class RemoteNamingProvider extends Object implements NamingProvider
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the provider.
|
org.jboss.remoting3.Endpoint |
getEndpoint()
Get the Remoting endpoint for this provider.
|
org.xnio.IoFuture<org.jboss.remoting3.ConnectionPeerIdentity> |
getFuturePeerIdentity()
Get the future connection peer identity.
|
org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentity()
Get the connection peer identity.
|
org.jboss.remoting3.ConnectionPeerIdentity |
getPeerIdentityForNaming()
Get the connection peer identity for a naming operation.
|
URI |
getProviderUri()
Get the provider URI of this provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentNamingProvider, performAction, performExceptionActionpublic org.jboss.remoting3.Endpoint getEndpoint()
null)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 getPeerIdentity()
throws org.wildfly.security.auth.AuthenticationException,
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.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()
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)public URI getProviderUri()
NamingProvidergetProviderUri in interface NamingProvidernull)public void close()
throws NamingException
NamingProviderInitialContext is closed. This method
should be idempotent.close in interface AutoCloseableclose in interface NamingProviderNamingException - if an error occurred while closing this providerCopyright © 2017 JBoss by Red Hat. All rights reserved.