コード例 #1
0
ファイル: CellNucleus.java プロジェクト: sureddy/dcache
 public Reader getDomainContextReader(String contextName) throws FileNotFoundException {
   Object o = __cellGlue.getCellContext(contextName);
   if (o == null) {
     throw new FileNotFoundException("Context not found : " + contextName);
   }
   return new StringReader(o.toString());
 }
コード例 #2
0
ファイル: CellNucleus.java プロジェクト: sureddy/dcache
 public Object getDomainContext(String str) {
   return __cellGlue.getCellContext(str);
 }
コード例 #3
0
ファイル: CellNucleus.java プロジェクト: sureddy/dcache
 public void setDomainContext(String contextName, Object context) {
   __cellGlue.getCellContext().put(contextName, context);
 }
コード例 #4
0
ファイル: CellNucleus.java プロジェクト: sureddy/dcache
 public Map<String, Object> getDomainContext() {
   return __cellGlue.getCellContext();
 }