org.netbeans.modules.j2eeserver/4 1.89.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi
Interface ServerLibraryManager


public interface ServerLibraryManager

The interface that should serverplugin should implement in order to support the server library management.

Since:
1.68
See Also:
ServerLibraryConfiguration

Method Summary
 void deployLibraries(Set<ServerLibraryDependency> libraries)
          Deploys all the required libraries passed to the method.
 Set<ServerLibraryDependency> getDeployableDependencies(Set<ServerLibraryDependency> dependencies)
           
 Set<ServerLibrary> getDeployableLibraries()
          Returns the set of libraries the server has access to and can be deployed on request (by call to #deployRequiredLibraries(java.util.Set).
 Set<ServerLibrary> getDeployedLibraries()
          Returns the set of libraries already deployed to the server.
 Set<ServerLibraryDependency> getMissingDependencies(Set<ServerLibraryDependency> dependencies)
           
 

Method Detail

getDeployableLibraries

@NonNull
Set<ServerLibrary> getDeployableLibraries()
Returns the set of libraries the server has access to and can be deployed on request (by call to #deployRequiredLibraries(java.util.Set).

Returns:
the set of libraries which can be deployed on server

getDeployedLibraries

@NonNull
Set<ServerLibrary> getDeployedLibraries()
Returns the set of libraries already deployed to the server.

Returns:
the set of libraries already deployed to the server

getMissingDependencies

@NonNull
Set<ServerLibraryDependency> getMissingDependencies(@NonNull
                                                            Set<ServerLibraryDependency> dependencies)

getDeployableDependencies

@NonNull
Set<ServerLibraryDependency> getDeployableDependencies(@NonNull
                                                               Set<ServerLibraryDependency> dependencies)

deployLibraries

void deployLibraries(@NonNull
                     Set<ServerLibraryDependency> libraries)
                     throws ConfigurationException
Deploys all the required libraries passed to the method. The libraries passed to the method may be already deployed and it is up to implementor to handle such case.

Parameters:
libraries - the libraries to deploy
Throws:
ConfigurationException - if there was a problem during the deployment

org.netbeans.modules.j2eeserver/4 1.89.0 1

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.