|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.smartfrog.sfcore.prim.PrimDeployerImpl
public class PrimDeployerImpl
This class implements the deployment semantics for primitives. This means looking up the sfClass attribute and creating an instance of that class. After this the rest of the deployment is left to the instance. The deployer implements the ComponentDeployer interface.
| Field Summary | |
|---|---|
protected static Reference |
refClass
Efficiency holder of sfClass reference. |
protected static Reference |
refCodeBase
Efficiency holder of sfCodeBase reference. |
ComponentDescription |
target
The target description to work of. |
| Constructor Summary | |
|---|---|
PrimDeployerImpl(ComponentDescription descr)
Constructs a component deployer for given description. |
|
| Method Summary | |
|---|---|
protected Prim |
deploy(Prim parent)
Does the basic deployment. |
Prim |
deploy(Reference name,
Prim parent,
Context params)
Deploy target description for which this deployer was created. |
protected java.lang.Class |
getPrimClass()
Get the class for the primitive to be deployed. |
protected java.lang.String |
getSfCodeBase(ComponentDescription desc)
Gets the class code base by resolving the sfCodeBase attribute in the given description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Reference refClass
protected static final Reference refCodeBase
public ComponentDescription target
| Constructor Detail |
|---|
public PrimDeployerImpl(ComponentDescription descr)
descr - target description| Method Detail |
|---|
protected Prim deploy(Prim parent)
throws SmartFrogDeploymentException
parent - parent for deployed component
SmartFrogDeploymentException - In case of any error while
deploying the componentprotected java.lang.String getSfCodeBase(ComponentDescription desc)
desc - Description in which we resolve the code base.
protected java.lang.Class getPrimClass()
throws java.lang.Exception
java.lang.Exception - failed to load class
public Prim deploy(Reference name,
Prim parent,
Context params)
throws SmartFrogDeploymentException
deploy in interface ComponentDeployername - name of contained description to deploy (can be null)parent - parent for deployed componentparams - parameters for description
SmartFrogDeploymentException - failed to deploy description
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||