public class DefaultWssContainer extends Object implements WssContainer
Constructor and Description |
---|
DefaultWssContainer(ModelItem modelItem,
WssContainerConfig config) |
public DefaultWssContainer(ModelItem modelItem, WssContainerConfig config)
public ModelItem getModelItem()
getModelItem
in interface WssContainer
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface PropertyExpansionContainer
public List<WssCrypto> getCryptoList()
getCryptoList
in interface WssContainer
public WssCrypto addCrypto(String source, String password, CryptoType type)
addCrypto
in interface WssContainer
protected void fireCryptoAdded(WssCrypto crypto)
protected void fireCryptoRemoved(WssCrypto crypto)
public void fireWssEntryMoved(WssEntry entry, int offset)
public WssContainerConfig getConfig()
public int getCryptoCount()
getCryptoCount
in interface WssContainer
public void removeCrypto(WssCrypto crypto)
removeCrypto
in interface WssContainer
public List<IncomingWss> getIncomingWssList()
getIncomingWssList
in interface WssContainer
public IncomingWss addIncomingWss(String label)
addIncomingWss
in interface WssContainer
public int getIncomingWssCount()
getIncomingWssCount
in interface WssContainer
public IncomingWss getIncomingWssAt(int index)
getIncomingWssAt
in interface WssContainer
public void removeIncomingWssAt(int row)
removeIncomingWssAt
in interface WssContainer
protected void fireIncomingWssAdded(IncomingWss incomingWss)
protected void fireIncomingWssRemoved(IncomingWss incomingWss)
public List<OutgoingWss> getOutgoingWssList()
getOutgoingWssList
in interface WssContainer
public OutgoingWss addOutgoingWss(String label)
addOutgoingWss
in interface WssContainer
protected void fireOutgoingWssAdded(OutgoingWss result)
protected void fireOutgoingWssRemoved(OutgoingWss result)
public int getOutgoingWssCount()
getOutgoingWssCount
in interface WssContainer
public OutgoingWss getOutgoingWssAt(int index)
getOutgoingWssAt
in interface WssContainer
public void removeOutgoingWssAt(int row)
removeOutgoingWssAt
in interface WssContainer
public WssCrypto getCryptoByName(String cryptoName, boolean outgoingWSSConfig)
getCryptoByName
in interface WssContainer
public WssCrypto getCryptoByName(String cryptoName)
getCryptoByName
in interface WssContainer
public IncomingWss getIncomingWssByName(String incomingName)
getIncomingWssByName
in interface WssContainer
public OutgoingWss getOutgoingWssByName(String outgoingName)
getOutgoingWssByName
in interface WssContainer
public void addWssContainerListener(WssContainerListener listener)
addWssContainerListener
in interface WssContainer
public void removeWssContainerListener(WssContainerListener listener)
removeWssContainerListener
in interface WssContainer
public void fireWssEntryAdded(WssEntry newEntry)
public void fireWssEntryRemoved(WssEntry entry)
public String[] getCryptoNames()
getCryptoNames
in interface WssContainer
public String[] getIncomingWssNames()
getIncomingWssNames
in interface WssContainer
public String[] getOutgoingWssNames()
getOutgoingWssNames
in interface WssContainer
public void importConfig(WssContainer wssContainer)
importConfig
in interface WssContainer
public void resetConfig(WssContainerConfig config)
public void fireCryptoUpdated(KeyMaterialWssCrypto crypto)
public void resolve(ResolveContext<?> context)
public void addExternalDependency(List<ExternalDependency> dependencies)
public void release()
Copyright © 2019. All Rights Reserved.