|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemonster.surinam.core.framework.BlueprintManagerImpl
public class BlueprintManagerImpl
This is the primary implementation for the BlueprintManager. Among other things, the this instance has injection methods for changing the output renderers.
BlueprintManager| Constructor Summary | |
|---|---|
BlueprintManagerImpl()
|
|
| Method Summary | |
|---|---|
AbstractContractBlueprintFormatter |
getContractFormatter()
|
AbstractEntryPointBlueprintFormatter |
getEntryPointFormatter()
|
AbstractImplementationBlueprintFormatter |
getImplementationFormatter()
|
boolean |
isRegisteredContract(String contractName)
Tells whether a contract is registered with the manager. |
boolean |
isRegisteredEntryPoint(String contractName)
Tells whether a contract is registered with the manager. |
boolean |
isRegisteredImplementation(String contractName)
Tells whether a contract is registered with the manager. |
void |
registerEntryPoint(EntryPointBlueprint entryPointBlueprint)
Registers an entry point with the BPM. |
void |
registerProviderImplementation(ImplementationBlueprint implementationBlueprint)
Note that the key used for an implementation is the service binding name and not the implementation name. |
void |
registerServiceContract(ContractBlueprint contractBlueprint)
Registers a Contract with the BPM. |
String |
renderActionDocument()
This method is a primary format since the XML it delivers is actually a valid Action Document that can be fed back into a Service Block via a ServiceBlockCommander. |
void |
reset()
This method causes the manager to flush its mappings and reset to the state it was in when first created. |
void |
retireImplementation(String contractName)
This directive will remove a Service Provider Implementation from the manager. |
void |
retireServiceContract(String contractName)
Recognizing that there is no difference between Contracts and Entry Points we will search both for a match. |
void |
setContractFormatter(AbstractContractBlueprintFormatter contractFormatter)
|
void |
setEntryPointFormatter(AbstractEntryPointBlueprintFormatter entryPointFormatter)
|
void |
setImplementationFormatter(AbstractImplementationBlueprintFormatter implementationFormatter)
|
void |
synchronizeBindings(ServiceBlockAdmin serviceBlockAdmin)
It is absolutely critical that the BPM maintain synchronized state with the Service Directory. |
String |
toHTML()
Instructs the Blueprint Manager to return its current state as an HTML-formatted document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlueprintManagerImpl()
| Method Detail |
|---|
public void registerServiceContract(ContractBlueprint contractBlueprint)
BlueprintManager
registerServiceContract in interface BlueprintManagercontractBlueprint - The blueprint to be registered with the BPM.public void retireServiceContract(String contractName)
retireServiceContract in interface BlueprintManagercontractName - Name of the contract to be retired.public void retireImplementation(String contractName)
BlueprintManager
retireImplementation in interface BlueprintManagercontractName - Name of the Implementation to be removed.public boolean isRegisteredEntryPoint(String contractName)
BlueprintManager
isRegisteredEntryPoint in interface BlueprintManagercontractName - The name of the contract being queried.
public boolean isRegisteredContract(String contractName)
BlueprintManager
isRegisteredContract in interface BlueprintManagercontractName - The name of the contract being queried.
public boolean isRegisteredImplementation(String contractName)
BlueprintManager
isRegisteredImplementation in interface BlueprintManagercontractName - The name of the contract being queried.
public void registerEntryPoint(EntryPointBlueprint entryPointBlueprint)
BlueprintManager
registerEntryPoint in interface BlueprintManagerentryPointBlueprint - The blueprint to be registered with the BPM.public void registerProviderImplementation(ImplementationBlueprint implementationBlueprint)
registerProviderImplementation in interface BlueprintManagerimplementationBlueprint - The implementation blueprint object.public void synchronizeBindings(ServiceBlockAdmin serviceBlockAdmin)
synchronizeBindings in interface BlueprintManagerserviceBlockAdmin - The service directory admin instance to synchronize against.public String renderActionDocument()
renderActionDocument in interface BlueprintManagerServiceBlockCommanderpublic String toHTML()
toHTML in interface BlueprintManagerpublic void reset()
reset in interface BlueprintManagerpublic AbstractContractBlueprintFormatter getContractFormatter()
public void setContractFormatter(AbstractContractBlueprintFormatter contractFormatter)
public AbstractEntryPointBlueprintFormatter getEntryPointFormatter()
public void setEntryPointFormatter(AbstractEntryPointBlueprintFormatter entryPointFormatter)
public AbstractImplementationBlueprintFormatter getImplementationFormatter()
public void setImplementationFormatter(AbstractImplementationBlueprintFormatter implementationFormatter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||