public abstract class AbstractPort<X extends AbstractPort<X>> extends AbstractConfiguredObject<X> implements Port<X>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
SECURED_STRING_VALUE
AUTHENTICATION_PROVIDER, BINDING_ADDRESS, CLASS_DESCRIPTION, CONNECTION_MAXIMUM_AUTHENTICATION_DELAY, DEFAULT_MAX_CONNECTION_AUTHENTICATION_DELAY, KEY_STORE, NEED_CLIENT_AUTH, PORT, PROTOCOLS, TCP_NO_DELAY, TRANSPORTS, TRUST_STORES, WANT_CLIENT_AUTH
CONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
Constructor and Description |
---|
AbstractPort(Map<String,Object> attributes,
Broker<?> broker) |
addChangeListener, addChildAsync, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onResolve, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, validateOnCreate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
start, startAsync
addChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsync
protected void onOpen()
onOpen
in class AbstractConfiguredObject<X extends AbstractPort<X>>
public void onValidate()
AbstractConfiguredObject
onValidate
in class AbstractConfiguredObject<X extends AbstractPort<X>>
protected final boolean isUsingTLSTransport()
protected final boolean isUsingTLSTransport(Collection<Transport> transports)
protected final boolean hasNonTLSTransport()
protected final boolean hasNonTLSTransport(Collection<Transport> transports)
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange
in class AbstractConfiguredObject<X extends AbstractPort<X>>
public int getPort()
getPort
in interface Port<X extends AbstractPort<X>>
public Set<Transport> getTransports()
getTransports
in interface Port<X extends AbstractPort<X>>
public Set<Protocol> getProtocols()
getProtocols
in interface Port<X extends AbstractPort<X>>
public Collection<Connection> getConnections()
getConnections
in interface Port<X extends AbstractPort<X>>
protected com.google.common.util.concurrent.ListenableFuture<Void> activate()
protected State onActivate()
public List<String> getTlsProtocolWhiteList()
getTlsProtocolWhiteList
in interface Port<X extends AbstractPort<X>>
public List<String> getTlsProtocolBlackList()
getTlsProtocolBlackList
in interface Port<X extends AbstractPort<X>>
public List<String> getTlsCipherSuiteWhiteList()
getTlsCipherSuiteWhiteList
in interface Port<X extends AbstractPort<X>>
public List<String> getTlsCipherSuiteBlackList()
getTlsCipherSuiteBlackList
in interface Port<X extends AbstractPort<X>>
public KeyStore getKeyStore()
getKeyStore
in interface Port<X extends AbstractPort<X>>
public Collection<TrustStore> getTrustStores()
getTrustStores
in interface Port<X extends AbstractPort<X>>
public String toString()
toString
in class AbstractConfiguredObject<X extends AbstractPort<X>>
protected void validateOnlyOneInstance()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.