Package org.apache.aries.subsystem.core.archive

Examples of org.apache.aries.subsystem.core.archive.SubsystemExportServiceCapability


  private static void setExportIsolationPolicy(RegionFilterBuilder builder, SubsystemExportServiceHeader header, BasicSubsystem subsystem) throws InvalidSyntaxException {
    if (header == null)
      return;
    String policy = RegionFilter.VISIBLE_SERVICE_NAMESPACE;
    for (SubsystemExportServiceHeader.Clause clause : header.getClauses()) {
      SubsystemExportServiceCapability capability = new SubsystemExportServiceCapability(clause, subsystem);
      String filter = capability.getDirectives().get(SubsystemExportServiceCapability.DIRECTIVE_FILTER);
      if (logger.isDebugEnabled())
        logger.debug("Allowing " + policy + " of " + filter);
      builder.allow(policy, filter.toString());
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.aries.subsystem.core.archive.SubsystemExportServiceCapability

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.