private Builder(String name) { property = new PhysicalProperty(); property.name = name; } }
public static Builder newBuilder(String name) { return new Builder(name); }
public int hashCode() { return (definition != null ? definition.hashCode() : 0); } }
private NonManagedConnectionSource connect(String topic, List<PhysicalChannelConnection> connections) { NonManagedConnectionSource source = null; for (PhysicalChannelConnection connection : connections) { connection.setTopic(topic); connection.getSource().setTopic(topic); connection.getTarget().setTopic(topic); channelConnector.connect(connection); if (connection.getSource() instanceof NonManagedConnectionSource) { source = (NonManagedConnectionSource) connection.getSource(); } } if (source == null) { throw new Fabric3Exception("NonManagedConnectionSource not found publishing to topic: " + topic); } return source; }
private PhysicalChannelConnection generateLocalConnection(LogicalProducer producer, Class<?> type, LogicalChannel channel, PhysicalConnectionSource source, ClassLoader classLoader) { URI uri = channel.getUri(); PhysicalConnectionTarget target = new ChannelTarget(uri, ChannelSide.PRODUCER); target.setClassLoader(classLoader); boolean bound = channel.isBound(); return new PhysicalChannelConnection(uri, producer.getUri(), source, target, type, bound); }
public int hashCode() { return (component != null ? component.hashCode() : 0); }
public String toString() { return "Component definition: " + component.toString(); }
public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BuildComponentCommand that = (BuildComponentCommand) o; return !(component != null ? !component.equals(that.component) : that.component != null); }
public int hashCode() { return (definition != null ? definition.hashCode() : 0); }
public URI getUri() { return definition.getUri(); }
public String toString() { return "Component definition: " + definition.toString(); }
public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ProvisionClassloaderCommand that = (ProvisionClassloaderCommand) o; return !(definition != null ? !definition.equals(that.definition) : that.definition != null); }
private NonManagedConnectionSource connect(String topic, List<PhysicalChannelConnection> connections) { NonManagedConnectionSource source = null; for (PhysicalChannelConnection connection : connections) { connection.setTopic(topic); connection.getSource().setTopic(topic); connection.getTarget().setTopic(topic); channelConnector.connect(connection); if (connection.getSource() instanceof NonManagedConnectionSource) { source = (NonManagedConnectionSource) connection.getSource(); } } if (source == null) { throw new Fabric3Exception("NonManagedConnectionSource not found publishing to topic: " + topic); } return source; }
private PhysicalChannelConnection generateLocalConnection(LogicalProducer producer, Class<?> type, LogicalChannel channel, PhysicalConnectionSource source, ClassLoader classLoader) { URI uri = channel.getUri(); PhysicalConnectionTarget target = new ChannelTarget(uri, ChannelSide.PRODUCER); target.setClassLoader(classLoader); boolean bound = channel.isBound(); return new PhysicalChannelConnection(uri, producer.getUri(), source, target, type, bound); }
public int hashCode() { return (component != null ? component.hashCode() : 0); }
public String toString() { return "Component definition: " + component.toString(); }
public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BuildComponentCommand that = (BuildComponentCommand) o; return !(component != null ? !component.equals(that.component) : that.component != null); }
public int hashCode() { return (definition != null ? definition.hashCode() : 0); }
public int hashCode() { return (component != null ? component.hashCode() : 0); }
public int hashCode() { return (component != null ? component.hashCode() : 0); }