public IEnumerable <object> Enumerate(IEnumerationContext context, IncomingMessage incomingMessage, OutgoingMessage outgoingMessage) { var filterExpr = context.Filter != null ? ExpressionParser.Parse <bool>((string)context.Filter) : null; return(_server .QueryNames(context.Selectors.ExtractObjectName(), filterExpr) .Select(ObjectNameSelector.CreateEndpointAddress)); }
public void RefreshMappings() { UnregisterAllProxies(); if (_beansToMapPatterns != null) { foreach (ObjectName pattern in _beansToMapPatterns) { foreach (ObjectName name in _server.QueryNames(pattern, null)) { MapBean(name); } } } }