|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebLogicDeploymentFactory
This is a WebLogic extension to javax.enterprise.deploy.spi.factories.DeploymentFactory. Use this factory interface to select and allocate DeploymentManager objects that have different characteristics based on the URI provided to the getDeploymentManager method. The DeploymentManager characteristics are defined by public fields.
Field Summary | |
---|---|
static String |
AUTH_DM_URI
Pre-authorized DeploymentManager URI. |
static int |
AUTH_URI_INDEX
|
static String |
DEFAULT_HOST
Default Listen Address to get the DeploymentManager. |
static int |
DEFAULT_PORT
Default Listen Port as number to get the DeploymentManager. |
static String |
DEFAULT_PORT_STRING
Default Listen Port as String to get the DeploymentManager. |
static String |
DEFAULT_PROTOCOL
Default Protocol to get the DeploymentManager. |
static String |
DEFAULT_URL
Default URL to get the Deployment Manager. |
static String |
LOCAL_DM_URI
Local access DeploymentManager URI. |
static int |
LOCAL_URI_INDEX
|
static String |
REMOTE_DM_URI
Remote access DeploymentManager URI. |
static int |
REMOTE_URI_INDEX
|
Method Summary | |
---|---|
String |
createUri(String deployerUri,
String host,
String port)
Builds a URI for obtaining a connected DeploymentManager. |
String |
createUri(String protocol,
String deployerUri,
String host,
String port)
Builds a URI for obtaining a connected DeploymentManager. |
DeploymentManager |
getDeploymentManager(String uri,
String username,
String password)
The uri parameter is of the form DMURI[:protocol://][host:port]. |
DeploymentManager |
getDisconnectedDeploymentManager(String uri)
The uri parameter must be one of those defined in this interface. |
String[] |
getUris()
Returns the supported URIs for this factory. |
Field Detail |
---|
static final int LOCAL_URI_INDEX
static final int REMOTE_URI_INDEX
static final int AUTH_URI_INDEX
static final String LOCAL_DM_URI
Use this DeploymentManager for deployment sessions that run on the same host as the Administration Server for the domain. All paths and filenames referenced during the deployment session are treated as being local to the Administration Server. This DeploymentManager does not enable module-level targeting by default.
static final String REMOTE_DM_URI
Use this DeploymentManager URI for deployment sessions that do not run on the same host as the Administration Server for the domain. Any files that are distributed as part of the deployment session are first uploaded to the Administration Server's configured upload directory.
static final String AUTH_DM_URI
This DeploymentManager assumes it is running on the same host as the
admin server of the domain being deployed to, and that it does not require
authentication. This provides the same characteristics as WebLogicDeploymentFactory.LOCAL_DM_URI
but assumes that the deployer tool has already obtained a context with the server.
static final String DEFAULT_PROTOCOL
static final int DEFAULT_PORT
static final String DEFAULT_PORT_STRING
static final String DEFAULT_HOST
static final String DEFAULT_URL
Method Detail |
---|
DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException
DeploymentManagerCreationException
DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException
DeploymentManagerCreationException
String[] getUris()
WebLogicDeploymentFactory.LOCAL_DM_URI
.
String createUri(String deployerUri, String host, String port)
deployerUri
- is one of the URIs defined in this interface. This param identifies the behaviors of the deployerhost
- is the name or address of the domain's admin serverport
- os the port number used by the admin serverString createUri(String protocol, String deployerUri, String host, String port)
protocol
- is an optional IP protocoldeployerUri
- is one of the URIs defined in this interface. This param identifies the behaviors of the deployerhost
- is the name or address of the domain's admin serverport
- os the port number used by the admin server
|
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |