1 30 package org.objectweb.jonas.resource; 31 32 import java.net.URL ; 33 34 import javax.naming.Context ; 35 36 import org.objectweb.jonas.service.Service; 37 38 48 public interface ResourceService extends Service { 49 50 62 String createResourceAdapter(Context ctx) throws Exception ; 63 64 70 String deployRar(String fileName) throws Exception ; 71 72 84 void deployRars(Context ctx) throws ResourceServiceException; 85 86 90 String getRarsDirectory(); 91 92 97 Boolean isRarDeployed(String fileName); 98 99 105 boolean isRarDeployedByUnpackName(String unpackName); 106 107 112 void unDeployRar(String fileName) throws Exception ; 113 114 121 void unDeployRars(URL [] urls, URL earUrl); 122 123 } 124 125 126 | Popular Tags |