Ejemplo n.º 1
0
 private static SSLServerSOContainer createServerContainer(
     String id, SSLServerSOContainerGroup group, String path, int keepAlive)
     throws IDCreateException {
   System.out.println(
       "  Creating container with id="
           + id
           + " keepAlive="
           + keepAlive); //$NON-NLS-1$ //$NON-NLS-2$
   final ID newServerID = IDFactory.getDefault().createStringID(id);
   final SOContainerConfig config = new SOContainerConfig(newServerID);
   return new SSLServerSOContainer(config, group, path, keepAlive);
 }
Ejemplo n.º 2
0
 public static R_OSGiID createR_OSGiID(Namespace namespace, String uriStr) {
   return (R_OSGiID) IDFactory.getDefault().createID(namespace, uriStr);
 }