コード例 #1
0
 public static EndpointReferenceFactory getInstance(QName endpointRefName, String refScheme) {
   for (int i = 0, n = factories.size(); i < n; i++) {
     EndpointReferenceFactory factory = (EndpointReferenceFactory) factories.get(i);
     if (factory.acceptsReference(endpointRefName, refScheme)) {
       return factory;
     }
   }
   return null;
 }
コード例 #2
0
 public static void registerInstance(EndpointReferenceFactory instance) {
   factories.add(instance);
   log.debug("registered endpoint factory: " + instance.getClass().getName());
 }