public static boolean isLocal ( final Node node1, final Endpoint ep ) { return isLocal ( node1, ep.getNode () ); }
public static boolean isLocal ( final Node node1, final Application app ) { return isLocal ( node1, fromApp ( app ) ); }
public static boolean isLocal ( final Node node1, final Application app ) { return isLocal ( node1, fromApp ( app ) ); }
public static boolean isLocal ( final Node node1, final Endpoint ep ) { return isLocal ( node1, ep.getNode () ); }
public static String makeHostname ( final Application app, final Node node ) { if ( isLocal ( fromApp ( app ), node ) ) { return LOCALHOST; } return node.getHostName (); } }
public static String makeHostname ( final Application app, final Node node ) { if ( isLocal ( fromApp ( app ), node ) ) { return LOCALHOST; } return node.getHostName (); } }
public static boolean isLocal ( final Application app1, final Application app2 ) { return isLocal ( fromApp ( app1 ), fromApp ( app2 ) ); }
public static boolean isLocal ( final Application app1, final Endpoint ep ) { return isLocal ( fromApp ( app1 ), ep.getNode () ); }
public static boolean isLocal ( final Application app1, final Application app2 ) { return isLocal ( fromApp ( app1 ), fromApp ( app2 ) ); }
public static boolean isLocal ( final Application app1, final Endpoint ep ) { return isLocal ( fromApp ( app1 ), ep.getNode () ); }
private void createConnection ( final Connection connection ) { final Map<String, String> data = new HashMap<> ( 1 ); final String configurationId = Names.makeName ( connection ); final Endpoint ep = connection.getEndpoint (); final boolean isLocal = Nodes.isLocal ( ep.getNode (), this.app ); data.put ( "connection.uri", connection.makeUri ( isLocal ) ); //$NON-NLS-1$ addData ( connection.getFactoryId (), configurationId, data ); } }
private void createConnection ( final Connection connection ) { final Map<String, String> data = new HashMap<> ( 1 ); final String configurationId = Names.makeName ( connection ); final Endpoint ep = connection.getEndpoint (); final boolean isLocal = Nodes.isLocal ( ep.getNode (), this.app ); data.put ( "connection.uri", connection.makeUri ( isLocal ) ); //$NON-NLS-1$ addData ( connection.getFactoryId (), configurationId, data ); } }
private void processAknProxy ( final AknProxy proxy ) { final Map<String, String> data = new HashMap<String, String> (); final boolean isLocal = Nodes.isLocal ( proxy.getConnection ().getEndpoint ().getNode (), this.app ); data.put ( "pattern", "" + proxy.getPattern () ); data.put ( "authorative", "" + proxy.isAuthorative () ); data.put ( "connection.id", proxy.getConnection ().makeUri ( isLocal ) ); data.put ( "priority", "" + proxy.getPriority () ); addData ( Factories.FACTORY_AE_AKN_PROXY, String.format ( "%s-%s", proxy.getConnection ().getEndpoint ().getNode ().getHostName (), proxy.getPriority () ), data ); }
private void processAknProxy ( final AknProxy proxy ) { final Map<String, String> data = new HashMap<String, String> (); final boolean isLocal = Nodes.isLocal ( proxy.getConnection ().getEndpoint ().getNode (), this.app ); data.put ( "pattern", "" + proxy.getPattern () ); data.put ( "authorative", "" + proxy.isAuthorative () ); data.put ( "connection.id", proxy.getConnection ().makeUri ( isLocal ) ); data.put ( "priority", "" + proxy.getPriority () ); addData ( Factories.FACTORY_AE_AKN_PROXY, String.format ( "%s-%s", proxy.getConnection ().getEndpoint ().getNode ().getHostName (), proxy.getPriority () ), data ); }