public abstract class RemoteNamingProvider extends Object implements NamingProvider
| Constructor and Description |
|---|
RemoteNamingProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Close the provider.
|
abstract Endpoint |
getEndpoint()
Get the Remoting endpoint for this provider.
|
abstract IoFuture<ConnectionPeerIdentity> |
getFuturePeerIdentity()
Get the future connection peer identity.
|
abstract ConnectionPeerIdentity |
getPeerIdentity()
Get the connection peer identity.
|
ConnectionPeerIdentity |
getPeerIdentityForNaming()
Get the connection peer identity for a naming operation.
|
abstract URI |
getProviderUri()
Get the provider URI of this provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentNamingProvider, performAction, performExceptionActionpublic abstract Endpoint getEndpoint()
null)public 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 abstract 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 abstract IoFuture<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 abstract URI getProviderUri()
NamingProvidergetProviderUri in interface NamingProvidernull)public abstract 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.