1 19 24 25 package org.netbeans.modules.j2ee.sun.dd.api.serverresources; 26 27 import org.netbeans.modules.schema2beans.Schema2BeansRuntimeException; 28 29 32 public interface Resources extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean { 33 34 public static final String CUSTOM_RESOURCE = "CustomResource"; public static final String EXTERNAL_JNDI_RESOURCE = "ExternalJndiResource"; public static final String JDBC_RESOURCE = "JdbcResource"; public static final String MAIL_RESOURCE = "MailResource"; public static final String PERSISTENCE_MANAGER_FACTORY_RESOURCE = "PersistenceManagerFactoryResource"; public static final String ADMIN_OBJECT_RESOURCE = "AdminObjectResource"; public static final String CONNECTOR_RESOURCE = "ConnectorResource"; public static final String RESOURCE_ADAPTER_CONFIG = "ResourceAdapterConfig"; public static final String JDBC_CONNECTION_POOL = "JdbcConnectionPool"; public static final String CONNECTOR_CONNECTION_POOL = "ConnectorConnectionPool"; public static final String JMS_RESOURCE = "JmsResource"; 46 public void setCustomResource(int index, CustomResource value); 47 public CustomResource getCustomResource(int index); 48 public int sizeCustomResource(); 49 public void setCustomResource(CustomResource[] value); 50 public CustomResource[] getCustomResource(); 51 public int addCustomResource(CustomResource value); 52 public int removeCustomResource(CustomResource value); 53 public CustomResource newCustomResource(); 54 55 public void setExternalJndiResource(int index, ExternalJndiResource value); 56 public ExternalJndiResource getExternalJndiResource(int index); 57 public int sizeExternalJndiResource(); 58 public void setExternalJndiResource(ExternalJndiResource[] value); 59 public ExternalJndiResource[] getExternalJndiResource(); 60 public int addExternalJndiResource(ExternalJndiResource value); 61 public int removeExternalJndiResource(ExternalJndiResource value); 62 public ExternalJndiResource newExternalJndiResource(); 63 64 public void setJdbcResource(int index, JdbcResource value); 65 public JdbcResource getJdbcResource(int index); 66 public int sizeJdbcResource(); 67 public void setJdbcResource(JdbcResource[] value); 68 public JdbcResource[] getJdbcResource(); 69 public int addJdbcResource(JdbcResource value); 70 public int removeJdbcResource(JdbcResource value); 71 public JdbcResource newJdbcResource(); 72 73 public void setMailResource(int index, MailResource value); 74 public MailResource getMailResource(int index); 75 public int sizeMailResource(); 76 public void setMailResource(MailResource[] value); 77 public MailResource[] getMailResource(); 78 public int addMailResource(MailResource value); 79 public int removeMailResource(MailResource value); 80 public MailResource newMailResource(); 81 82 public void setPersistenceManagerFactoryResource(int index, PersistenceManagerFactoryResource value); 83 public PersistenceManagerFactoryResource getPersistenceManagerFactoryResource(int index); 84 public int sizePersistenceManagerFactoryResource(); 85 public void setPersistenceManagerFactoryResource(PersistenceManagerFactoryResource[] value); 86 public PersistenceManagerFactoryResource[] getPersistenceManagerFactoryResource(); 87 public int addPersistenceManagerFactoryResource(PersistenceManagerFactoryResource value); 88 public int removePersistenceManagerFactoryResource(PersistenceManagerFactoryResource value); 89 public PersistenceManagerFactoryResource newPersistenceManagerFactoryResource(); 90 91 public void setAdminObjectResource(int index, AdminObjectResource value); 92 public AdminObjectResource getAdminObjectResource(int index); 93 public int sizeAdminObjectResource(); 94 public void setAdminObjectResource(AdminObjectResource[] value); 95 public AdminObjectResource[] getAdminObjectResource(); 96 public int addAdminObjectResource(AdminObjectResource value); 97 public int removeAdminObjectResource(AdminObjectResource value); 98 public AdminObjectResource newAdminObjectResource(); 99 100 public void setConnectorResource(int index, ConnectorResource value); 101 public ConnectorResource getConnectorResource(int index); 102 public int sizeConnectorResource(); 103 public void setConnectorResource(ConnectorResource[] value); 104 public ConnectorResource[] getConnectorResource(); 105 public int addConnectorResource(ConnectorResource value); 106 public int removeConnectorResource(ConnectorResource value); 107 public ConnectorResource newConnectorResource(); 108 109 public void setResourceAdapterConfig(int index, ResourceAdapterConfig value); 110 public ResourceAdapterConfig getResourceAdapterConfig(int index); 111 public int sizeResourceAdapterConfig(); 112 public void setResourceAdapterConfig(ResourceAdapterConfig[] value); 113 public ResourceAdapterConfig[] getResourceAdapterConfig(); 114 public int addResourceAdapterConfig(ResourceAdapterConfig value); 115 public int removeResourceAdapterConfig(ResourceAdapterConfig value); 116 public ResourceAdapterConfig newResourceAdapterConfig(); 117 118 public void setJdbcConnectionPool(int index, JdbcConnectionPool value); 119 public JdbcConnectionPool getJdbcConnectionPool(int index); 120 public int sizeJdbcConnectionPool(); 121 public void setJdbcConnectionPool(JdbcConnectionPool[] value); 122 public JdbcConnectionPool[] getJdbcConnectionPool(); 123 public int addJdbcConnectionPool(JdbcConnectionPool value); 124 public int removeJdbcConnectionPool(JdbcConnectionPool value); 125 public JdbcConnectionPool newJdbcConnectionPool(); 126 127 public void setConnectorConnectionPool(int index, ConnectorConnectionPool value); 128 public ConnectorConnectionPool getConnectorConnectionPool(int index); 129 public int sizeConnectorConnectionPool(); 130 public void setConnectorConnectionPool(ConnectorConnectionPool[] value); 131 public ConnectorConnectionPool[] getConnectorConnectionPool(); 132 public int addConnectorConnectionPool(ConnectorConnectionPool value); 133 public int removeConnectorConnectionPool(ConnectorConnectionPool value); 134 public ConnectorConnectionPool newConnectorConnectionPool(); 135 136 public void setJmsResource(int index, JmsResource value); 137 public JmsResource getJmsResource(int index); 138 public int sizeJmsResource(); 139 public void setJmsResource(JmsResource[] value); 140 public JmsResource[] getJmsResource(); 141 public int addJmsResource(JmsResource value); 142 public int removeJmsResource(JmsResource value); 143 public JmsResource newJmsResource(); 144 145 public void write(java.io.File f) throws java.io.IOException , Schema2BeansRuntimeException; 146 } 147 | Popular Tags |