Ignore:
Timestamp:
10/22/13 15:15:51 (11 years ago)
Author:
stoda
Message:

Supervisor seems to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/supervisor/src/main/java/omq/common/broker/RemoteBrokerImpl.java

    r107 r110  
    2828        @Override
    2929        public void spawnObject(String reference, String className, Properties env) throws Exception {
     30                System.out.println("SPAWN broker = " + this.getUID());
    3031                RemoteObject remote = (RemoteObject) Class.forName(className).newInstance();
    3132                getBroker().bind(reference, remote, env);
     
    3435        @Override
    3536        public void spawnObject(String reference, String className) throws Exception {
     37                System.out.println("SPAWN broker = " + this.getUID());
    3638                RemoteObject remote = (RemoteObject) Class.forName(className).newInstance();
    3739                getBroker().bind(reference, remote);
     
    5052        @Override
    5153        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());
    5355                if (getBroker().getRemoteObjs().containsKey(reference)) {
    5456                        RemoteObject r = getBroker().getRemoteObjs().get(reference);
Note: See TracChangeset for help on using the changeset viewer.