Beispiel #1
0
  private void initAgent(WrapperMapper agent, String name) {
    Properties props = getWrapperProps();

    agent.init(name, props);
    AgentConnector connector = new MockAgentConnector(orb, agent);
    agent.setConnector(connector);
  }
Beispiel #2
0
 @Override
 void initCache() throws CacheException {
   if (throwCacheException) {
     throw new CacheException("Fake exception. Totally expected.");
   } else {
     super.initCache();
   }
 }