1 23 package com.sun.enterprise.repository; 24 25 import java.util.Set ; 26 import java.util.Properties ; 27 28 public interface ResourceAdmin { 29 30 int QUEUE = 1; 32 int TOPIC = 2; 33 34 44 ConnectorResource addConnectionFactory(String appName, 45 String connectorName, 46 String jndiName, 47 String xaRecoveryUser, 48 String xaRecoveryPassword, 49 Properties props) 50 throws J2EEResourceException; 51 52 void addResource(J2EEResource resource) 53 throws J2EEResourceException; 54 55 Set getResources(int resourceType) 56 throws J2EEResourceException; 57 58 void removeResource(String name, int resourceType) 59 throws J2EEResourceException; 60 61 void removeAllResources(int resourceType) 62 throws J2EEResourceException; 63 64 } 65 | Popular Tags |