Package | Description |
---|---|
org.netbeans.modules.j2ee.deployment.devmodules.api | |
org.netbeans.modules.j2ee.deployment.devmodules.spi | |
org.netbeans.modules.j2ee.deployment.plugins.spi |
Deployment api S1S extensions
|
org.netbeans.modules.j2ee.deployment.plugins.spi.config |
Modifier and Type | Method and Description |
---|---|
void |
ServerInstance.LibraryManager.deployLibraries(Set<ServerLibraryDependency> libraries) |
Modifier and Type | Method and Description |
---|---|
void |
J2eeModuleProvider.ConfigSupport.bindDatasourceReference(String referenceName,
String jndiName)
Binds the data source reference name with the corresponding data source which is
identified by the given JNDI name.
|
void |
J2eeModuleProvider.ConfigSupport.bindDatasourceReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String jndiName)
Binds the data source reference name with the corresponding data source which is
identified by the given JNDI name.
|
void |
J2eeModuleProvider.ConfigSupport.bindEjbReference(String referenceName,
String jndiName)
Binds EJB reference name with EJB name.
|
void |
J2eeModuleProvider.ConfigSupport.bindEjbReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String jndiName)
Binds EJB reference name with EJB name within the EJB scope.
|
void |
J2eeModuleProvider.ConfigSupport.bindMdbToMessageDestination(String mdbName,
String name,
MessageDestination.Type type)
Binds the message destination name with message-driven bean.
|
void |
J2eeModuleProvider.ConfigSupport.bindMessageDestinationReference(String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
Binds the message destination reference name with the corresponding message destination which is
identified by the given name.
|
void |
J2eeModuleProvider.ConfigSupport.bindMessageDestinationReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
Binds the message destination reference name with the corresponding message destination which is
identified by the given name.
|
void |
J2eeModuleProvider.ConfigSupport.configureLibrary(ServerLibraryDependency library)
Configure the library (dependency) the enterprise module needs in order
to work properly.
|
Datasource |
J2eeModuleProvider.createDatasource(String jndiName,
String url,
String username,
String password,
String driver)
Creates and saves data source in the module if it does not exist yet on the target server or in the module.
|
Datasource |
J2eeModuleProvider.ConfigSupport.createDatasource(String jndiName,
String url,
String username,
String password,
String driver)
Creates and saves data source in the module if it does not exist yet in the module.
|
MessageDestination |
J2eeModuleProvider.ConfigSupport.createMessageDestination(String name,
MessageDestination.Type type)
Creates and saves a message destination in the module if it does not exist in the module yet.
|
void |
J2eeModuleProvider.deployDatasources()
Deprecated.
Nobody should use this method. Being an API is a mistake.
|
Datasource |
J2eeModuleProvider.ConfigSupport.findDatasource(String jndiName)
Finds data source with the given JNDI name.
|
String |
J2eeModuleProvider.ConfigSupport.findDatasourceJndiName(String referenceName)
Finds JNDI name of data source which is mapped to the given reference name of a data source
|
String |
J2eeModuleProvider.ConfigSupport.findDatasourceJndiNameForEjb(String ejbName,
String referenceName)
Finds JNDI name of data source which is mapped to the given reference name in the scope of the EJB.
|
String |
J2eeModuleProvider.ConfigSupport.findJndiNameForEjb(String ejbName)
Returns a JNDI name for the given EJB or
null if the EJB has
no JNDI name assigned. |
MessageDestination |
J2eeModuleProvider.ConfigSupport.findMessageDestination(String name)
Finds message destination with the given name.
|
String |
J2eeModuleProvider.ConfigSupport.findMessageDestinationName(String mdbName)
Finds name of message destination which the given MDB listens to
|
Set<Datasource> |
J2eeModuleProvider.ConfigSupport.getDatasources()
Gets the data sources saved in the module.
|
Set<ServerLibraryDependency> |
J2eeModuleProvider.ConfigSupport.getLibraries()
Returns the server library dependencies the enterprise module needs
to work properly.
|
Set<MessageDestination> |
J2eeModuleProvider.ConfigSupport.getMessageDestinations()
Retrieves message destinations stored in the module.
|
Set<Datasource> |
J2eeApplicationProvider.getModuleDatasources()
Overrides the
J2eeModuleProvider's implementation so that
the data sources from the child modules are returned |
Set<Datasource> |
J2eeModuleProvider.getModuleDatasources()
Deprecated.
|
Set<Datasource> |
J2eeModuleProvider.getServerDatasources()
Gets the data sources deployed on the target server instance.
|
Set<MessageDestination> |
J2eeModuleProvider.ConfigSupport.getServerMessageDestinations()
Retrieves message destinations configured on the target server instance.
|
String |
J2eeModuleProvider.ConfigSupport.getWebContextRoot()
Get web module context root.
|
void |
J2eeModuleProvider.ConfigSupport.setCMPMappingInfo(OriginalCMPMapping[] mappings)
Push the CMP and CMR mapping info to the server configuraion.
|
void |
J2eeModuleProvider.ConfigSupport.setCMPResource(String ejbName,
String jndiName)
Sets the resource for the specified CMP bean.
|
void |
J2eeModuleProvider.ConfigSupport.setWebContextRoot(String contextRoot)
Set web module context root.
|
Modifier and Type | Class and Description |
---|---|
static class |
ServerLibraryManager.MissingLibrariesException
Exception there are missing libraries which cannot be deployed.
|
Modifier and Type | Method and Description |
---|---|
void |
DatasourceManager.deployDatasources(Set<Datasource> datasources)
Deploys given set of data sources.
|
void |
ServerLibraryManager.deployLibraries(Set<ServerLibraryDependency> libraries)
Deploys all the required libraries passed to the method.
|
void |
MessageDestinationDeployment.deployMessageDestinations(Set<MessageDestination> destinations)
Deploys message destinations saved in the module.
|
Set<Datasource> |
DatasourceManager.getDatasources()
Retrieves the data sources deployed on the server
|
Set<MessageDestination> |
MessageDestinationDeployment.getMessageDestinations()
Retrieves message destinations configured on the target server instance.
|
Modifier and Type | Method and Description |
---|---|
void |
DatasourceConfiguration.bindDatasourceReference(String referenceName,
String jndiName)
Binds the data source reference name with the corresponding data source which is
identified the given JNDI name.
|
void |
DatasourceConfiguration.bindDatasourceReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String jndiName)
Binds the data source reference name with the corresponding data source which is
identified the given JNDI name.
|
void |
EjbResourceConfiguration.bindEjbReference(String referenceName,
String jndiName)
Binds an EJB reference name with an EJB JNDI name.
|
void |
EjbResourceConfiguration.bindEjbReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String jndiName)
Binds an EJB reference name with an EJB name within the EJB scope.
|
void |
MessageDestinationConfiguration.bindMdbToMessageDestination(String mdbName,
String name,
MessageDestination.Type type)
Binds the message destination name with message-driven bean.
|
void |
MessageDestinationConfiguration.bindMessageDestinationReference(String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
Binds the message destination reference name with the corresponding message destination which is
identified by the given name.
|
void |
MessageDestinationConfiguration.bindMessageDestinationReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String connectionFactoryName,
String destName,
MessageDestination.Type type)
Binds the message destination reference name with the corresponding message destination which is
identified by the given name.
|
void |
ServerLibraryConfiguration.configureLibrary(ServerLibraryDependency library)
Configure the library (dependency) the enterprise module needs in order
to work properly.
|
ModuleConfiguration |
ModuleConfigurationFactory.create(J2eeModule j2eeModule)
Creates a
ModuleConfiguration instance associated with the specified
J2EE module. |
ModuleConfiguration |
ModuleConfigurationFactory2.create(J2eeModule j2eeModule,
String instanceUrl)
Creates a
ModuleConfiguration instance associated with the specified
J2EE module. |
Datasource |
DatasourceConfiguration.createDatasource(String jndiName,
String url,
String username,
String password,
String driver)
Creates the data source definition in the module.
|
MessageDestination |
MessageDestinationConfiguration.createMessageDestination(String name,
MessageDestination.Type type)
Creates and saves a message destination in the module if it does not exist in the module yet.
|
String |
DatasourceConfiguration.findDatasourceJndiName(String referenceName)
Finds JNDI name of the data source which is mapped to the given reference name.
|
String |
DatasourceConfiguration.findDatasourceJndiNameForEjb(String ejbName,
String referenceName)
Finds JNDI name of the data source which is mapped to the given reference name in the scope the EJB.
|
String |
EjbResourceConfiguration.findJndiNameForEjb(String ejbName)
Returns a JNDI name for the given EJB or
null if the EJB has
no JNDI name assigned. |
String |
MessageDestinationConfiguration.findMessageDestinationName(String mdbName)
Finds name of message destination which the given MDB listens to
|
String |
ContextRootConfiguration.getContextRoot()
Return the web module context root.
|
Set<Datasource> |
DatasourceConfiguration.getDatasources()
Returns the data sources defined in the module.
|
Set<ServerLibraryDependency> |
ServerLibraryConfiguration.getLibraries()
Returns the server library dependencies the enterprise module needs
to work properly.
|
Set<MessageDestination> |
MessageDestinationConfiguration.getMessageDestinations()
Retrieves message destinations stored in the module.
|
void |
DeploymentPlanConfiguration.save(OutputStream outputStream)
Write the deployment plan file to the specified output stream.
|
void |
MappingConfiguration.setCMPResource(String ejbName,
String jndiName)
Sets the resource for the specified CMP bean.
|
void |
ContextRootConfiguration.setContextRoot(String contextRoot)
Set the web context root.
|
void |
MappingConfiguration.setMappingInfo(OriginalCMPMapping[] mappings)
Sets the CMP mapping info for the EJB by the given name.
|