Ignore:
Timestamp:
10/01/13 12:02:41 (11 years ago)
Author:
stoda
Message:

TODO: delete in supervisor
check the code

File:
1 edited

Legend:

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

    r91 r92  
    22
    33import java.io.IOException;
     4import java.util.Properties;
    45import java.util.Set;
    56
    67import omq.Remote;
     8import omq.client.annotation.SyncMethod;
    79import omq.exception.RemoteException;
    810
     
    1012        public Set<String> getRemoteObjects();
    1113
    12         public void spawnObject(String reference, String className, Class<?> parameterTypes, Object... args) throws Exception;
     14        public void spawnObject(String reference, String className, Properties env) throws Exception;
     15
     16        public void spawnObject(String reference, String className) throws Exception;
    1317
    1418        public void deleteObject(String reference) throws RemoteException, IOException;
    1519
    16         public HasObject hasObject(String reference);
     20        @SyncMethod(retry = 1, timeout = 1000)
     21        public boolean hasObject(String reference);
    1722
    1823}
Note: See TracChangeset for help on using the changeset viewer.