1 10 11 package org.mule.umo.endpoint; 12 13 import org.mule.umo.UMOFilter; 14 import org.mule.umo.UMOTransactionConfig; 15 import org.mule.umo.lifecycle.Initialisable; 16 import org.mule.umo.provider.UMOConnector; 17 import org.mule.umo.security.UMOEndpointSecurityFilter; 18 import org.mule.umo.transformer.UMOTransformer; 19 20 import java.io.Serializable ; 21 import java.util.Map ; 22 23 31 public interface UMOImmutableEndpoint extends Serializable , Cloneable , Initialisable 32 { 33 public static final String INITIAL_STATE_STARTED = "started"; 34 public static final String INITIAL_STATE_STOPPED = "stopped"; 35 36 37 public static final String ENDPOINT_TYPE_SENDER = "sender"; 38 39 40 public static final String ENDPOINT_TYPE_RECEIVER = "receiver"; 41 42 43 public static final String ENDPOINT_TYPE_SENDER_AND_RECEIVER = "senderAndReceiver"; 44 45 46 public static final String ENDPOINT_TYPE_RESPONSE = "response"; 47 48 66 UMOEndpointURI getEndpointURI(); 67 68 74 String getEncoding(); 75 76 88 String getType(); 89 90 97 UMOConnector getConnector(); 98 99 104 String getName(); 105 106 119 UMOTransformer getTransformer(); 120 121 126 UMOTransformer getResponseTransformer(); 127 128 133 Map getProperties(); 134 135 141 Object getProperty(Object key); 142 143 149 String getProtocol(); 150 151 156 boolean isReadOnly(); 157 158 163 boolean canSend(); 164 165 170 boolean canReceive(); 171 172 178 UMOTransactionConfig getTransactionConfig(); 179 180 185 Object clone(); 186 187 193 UMOFilter getFilter(); 194 195 201 boolean isDeleteUnacceptedMessages(); 202 203 211 UMOEndpointSecurityFilter getSecurityFilter(); 212 213 221 boolean isSynchronous(); 222 223 228 boolean isSynchronousSet(); 229 230 238 boolean isRemoteSync(); 239 240 245 int getRemoteSyncTimeout(); 246 247 253 int getCreateConnector(); 254 255 261 String getInitialState(); 262 263 268 boolean isStreaming(); 269 } 270 | Popular Tags |