Creates a Deployment instance for this BasicDeploymentMBean. The
DeploymentManager will iterate through its DeploymentFactory
instances and call createDeployment on each factory. If a factory
returns a Deployment, then DeploymentManager returns that
Deployment. If null is returned, the next DeploymentFactory is
called. If no DeploymentFactory claims this BasicDeploymentMBean, then
null is returned.
mbean - The mbean for which a deployment is requested.
path - managed server's path to the application. The "real"
path is resolved in SlaveDeployer and depends on whether it's an
internal app, staging mode etc.
Deployment a new Deployment instance, or null if no
DeploymentFactory claimed this BasicDeploymentMBean