- Timestamp:
- 10/22/13 15:15:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/supervisor/src/main/java/omq/common/broker/RemoteBrokerImpl.java
r107 r110 28 28 @Override 29 29 public void spawnObject(String reference, String className, Properties env) throws Exception { 30 System.out.println("SPAWN broker = " + this.getUID()); 30 31 RemoteObject remote = (RemoteObject) Class.forName(className).newInstance(); 31 32 getBroker().bind(reference, remote, env); … … 34 35 @Override 35 36 public void spawnObject(String reference, String className) throws Exception { 37 System.out.println("SPAWN broker = " + this.getUID()); 36 38 RemoteObject remote = (RemoteObject) Class.forName(className).newInstance(); 37 39 getBroker().bind(reference, remote); … … 50 52 @Override 51 53 public HasObject hasObjectInfo(String reference) throws RetryException { 52 System.out.println("Hola soc un broker" + getRef() + ", "+getUID()+ ", fil: "+Thread.currentThread().getId());54 System.out.println("Hola soc un broker" + getRef() + ", " + getUID() + ", fil: " + Thread.currentThread().getId()); 53 55 if (getBroker().getRemoteObjs().containsKey(reference)) { 54 56 RemoteObject r = getBroker().getRemoteObjs().get(reference);
Note: See TracChangeset
for help on using the changeset viewer.