public class UriMessagingContainerRegistry extends AbstractMessagingContainerRegistry implements MessagingContainerRegistry, org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CHECKDISABLED |
static boolean |
DEFAULT_CHECKEXPIRED |
Constructor and Description |
---|
UriMessagingContainerRegistry() |
public static final boolean DEFAULT_CHECKDISABLED
public static final boolean DEFAULT_CHECKEXPIRED
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void init() throws Xdi2TransportException
Xdi2TransportException
public void shutdown()
public MessagingContainerMount mountMessagingContainer(String messagingContainerPath, MessagingContainer messagingContainer) throws Xdi2TransportException
messagingContainer
- The messaging container to mount.Xdi2TransportException
public UriMessagingContainerFactoryMount mountMessagingContainerFactory(String messagingContainerFactoryPath, UriMessagingContainerFactory messagingContainerFactory) throws Xdi2TransportException
messagingContainerFactory
- The messaging container factory to mount.Xdi2TransportException
public void unmountMessagingContainer(MessagingContainer messagingContainer)
messagingContainer
- The messaging container to unmount.public void unmountMessagingContainerFactory(UriMessagingContainerFactory messagingContainerFactory)
messagingContainerFactory
- The messaging container factory to unmount.public UriMessagingContainerMount lookup(String requestPath) throws Xdi2TransportException, Xdi2MessagingException
public UriMessagingContainerMount lookup(XDIArc ownerPeerRootXDIArc) throws Xdi2TransportException, Xdi2MessagingException
lookup
in interface MessagingContainerRegistry
Xdi2TransportException
Xdi2MessagingException
public List<UriMessagingContainerMount> getMessagingContainerMounts()
getMessagingContainerMounts
in interface MessagingContainerRegistry
public int getNumMessagingContainers()
getNumMessagingContainers
in interface MessagingContainerRegistry
public MessagingContainer getMessagingContainer(String messagingContainerPath)
public String[] getMessagingContainerPaths()
public List<UriMessagingContainerFactoryMount> getMessagingContainerFactoryMounts()
getMessagingContainerFactoryMounts
in interface MessagingContainerRegistry
public int getNumMessagingContainerFactorys()
getNumMessagingContainerFactorys
in interface MessagingContainerRegistry
public String findMessagingContainerFactoryPath(String requestPath)
public UriMessagingContainerFactory getMessagingContainerFactory(String messagingContainerFactoryPath)
public String[] getMessagingContainerFactoryPaths()
public boolean isCheckDisabled()
public void setCheckDisabled(boolean checkDisabled)
public boolean isCheckExpired()
public void setCheckExpired(boolean checkExpired)
Copyright © 2017. All rights reserved.