Inheritance diagram for PEIP_XML_Context:
Public Member Functions | |
__construct ($xml) | |
registerNodeBuilder ($nodeName, $callable) | |
addPlugin (PEIP_INF_Context_Plugin $plugin) | |
createPlugin ($config) | |
resolveChannelName ($channelName) | |
getService ($id) | |
hasService ($id) | |
createService ($config) | |
getGateway ($id) | |
createChannel ($config) | |
createSubscribebalChannel ($config) | |
doCreateChannel ($config, $defaultChannel, array $additionalArguments=array()) | |
createGateway ($config, $defaultClass=false) | |
createRouter ($config) | |
createSplitter ($config) | |
createAggregator ($config) | |
createWiretap ($config) | |
createReplyMessageHandler ($config, $defaultClass=false) | |
createServiceActivator ($config, $defaultClass=false) | |
doGetChannel ($type, $config) | |
buildAndModify ($config, $arguments, $defaultClass=false) | |
Static Public Member Functions | |
static | createFromString ($xml) |
static | createFromFile ($file) |
Protected Member Functions | |
init () | |
requestService ($id) | |
initService ($config) | |
modifyService ($service, $config) | |
provideService ($config) | |
getReplyHandlerArguments ($config) | |
getRequestChannel ($config) | |
getReplyChannel ($config) | |
Static Protected Member Functions | |
buildNode ($node) | |
static | getSetter ($config) |
buildArg ($config) | |
static | doBuild ($config, $arguments, $defaultClass=false) |
static | build ($className, $arguments) |
Protected Attributes | |
$services = array() | |
$configs = array() | |
$gateways = array() | |
$nodeBuilders = array() | |
$channelRegistry |
Definition at line 21 of file PEIP_XML_Context.php.
PEIP_XML_Context::__construct | ( | $ | xml | ) |
public
$xml |
Definition at line 41 of file PEIP_XML_Context.php.
References init().
static PEIP_XML_Context::createFromString | ( | $ | xml | ) | [static] |
Definition at line 47 of file PEIP_XML_Context.php.
static PEIP_XML_Context::createFromFile | ( | $ | file | ) | [static] |
Definition at line 51 of file PEIP_XML_Context.php.
PEIP_XML_Context::registerNodeBuilder | ( | $ | nodeName, | |
$ | callable | |||
) |
public
$nodeName | ||
$callable |
Implements PEIP_INF_Context.
Definition at line 66 of file PEIP_XML_Context.php.
PEIP_XML_Context::addPlugin | ( | PEIP_INF_Context_Plugin $ | plugin | ) |
public
$plugin |
Implements PEIP_INF_Context.
Definition at line 76 of file PEIP_XML_Context.php.
References PEIP_INF_Context_Plugin::init().
Referenced by createPlugin().
PEIP_XML_Context::createPlugin | ( | $ | config | ) |
public
$config |
Definition at line 86 of file PEIP_XML_Context.php.
References addPlugin(), and createService().
PEIP_XML_Context::buildNode | ( | $ | node | ) | [static, protected] |
protected
$className | ||
$arguments |
Definition at line 125 of file PEIP_XML_Context.php.
Referenced by init().
PEIP_XML_Context::init | ( | ) | [protected] |
protected
Definition at line 137 of file PEIP_XML_Context.php.
References buildNode(), and PEIP_Channel_Registry::getInstance().
Referenced by __construct().
PEIP_XML_Context::resolveChannelName | ( | $ | channelName | ) |
public
$channelName |
Implements PEIP_INF_Channel_Resolver.
Definition at line 154 of file PEIP_XML_Context.php.
PEIP_XML_Context::getService | ( | $ | id | ) |
public
$id |
Implements PEIP_INF_Context.
Definition at line 164 of file PEIP_XML_Context.php.
References hasService().
Referenced by requestService().
PEIP_XML_Context::hasService | ( | $ | id | ) |
public
$id |
Definition at line 176 of file PEIP_XML_Context.php.
Referenced by getService().
PEIP_XML_Context::requestService | ( | $ | id | ) | [protected] |
protected
$id |
Definition at line 186 of file PEIP_XML_Context.php.
References getService().
PEIP_XML_Context::initService | ( | $ | config | ) | [protected] |
protected
$config |
Definition at line 205 of file PEIP_XML_Context.php.
References createService().
PEIP_XML_Context::createService | ( | $ | config | ) |
public
$config |
Definition at line 219 of file PEIP_XML_Context.php.
References buildAndModify(), and buildArg().
Referenced by createPlugin(), and initService().
PEIP_XML_Context::modifyService | ( | $ | service, | |
$ | config | |||
) | [protected] |
protected
$service | ||
$config |
Definition at line 236 of file PEIP_XML_Context.php.
References buildArg().
PEIP_XML_Context::getGateway | ( | $ | id | ) |
PEIP_XML_Context::createChannel | ( | $ | config | ) |
PEIP_XML_Context::createSubscribebalChannel | ( | $ | config | ) |
PEIP_XML_Context::doCreateChannel | ( | $ | config, | |
$ | defaultChannel, | |||
array $ | additionalArguments = array() | |||
) |
public
$config | ||
$defaultChannel | ||
$additionalArguments |
Definition at line 309 of file PEIP_XML_Context.php.
PEIP_XML_Context::createGateway | ( | $ | config, | |
$ | defaultClass = false | |||
) |
public
$config | ||
$defaultClass |
Definition at line 327 of file PEIP_XML_Context.php.
PEIP_XML_Context::createRouter | ( | $ | config | ) |
PEIP_XML_Context::createSplitter | ( | $ | config | ) |
PEIP_XML_Context::createAggregator | ( | $ | config | ) |
PEIP_XML_Context::createWiretap | ( | $ | config | ) |
PEIP_XML_Context::createReplyMessageHandler | ( | $ | config, | |
$ | defaultClass = false | |||
) |
public
$config | ||
$defaultClass |
Definition at line 390 of file PEIP_XML_Context.php.
PEIP_XML_Context::createServiceActivator | ( | $ | config, | |
$ | defaultClass = false | |||
) |
public
$config | ||
$defaultClass |
Definition at line 408 of file PEIP_XML_Context.php.
PEIP_XML_Context::provideService | ( | $ | config | ) | [protected] |
static PEIP_XML_Context::getSetter | ( | $ | config | ) | [static, protected] |
Definition at line 438 of file PEIP_XML_Context.php.
PEIP_XML_Context::buildArg | ( | $ | config | ) | [static, protected] |
protected
$className | ||
$arguments |
Definition at line 463 of file PEIP_XML_Context.php.
Referenced by createService(), and modifyService().
PEIP_XML_Context::getReplyHandlerArguments | ( | $ | config | ) | [protected] |
PEIP_XML_Context::getRequestChannel | ( | $ | config | ) | [protected] |
PEIP_XML_Context::getReplyChannel | ( | $ | config | ) | [protected] |
PEIP_XML_Context::doGetChannel | ( | $ | type, | |
$ | config | |||
) |
PEIP_XML_Context::buildAndModify | ( | $ | config, | |
$ | arguments, | |||
$ | defaultClass = false | |||
) |
public
$config | ||
$arguments | ||
$defaultClass |
Implements PEIP_INF_Context.
Definition at line 555 of file PEIP_XML_Context.php.
Referenced by createService().
static PEIP_XML_Context::doBuild | ( | $ | config, | |
$ | arguments, | |||
$ | defaultClass = false | |||
) | [static, protected] |
Definition at line 564 of file PEIP_XML_Context.php.
static PEIP_XML_Context::build | ( | $ | className, | |
$ | arguments | |||
) | [static, protected] |
Definition at line 576 of file PEIP_XML_Context.php.
References PEIP_Generic_Builder::getInstance().
PEIP_XML_Context::$services = array() [protected] |
Definition at line 27 of file PEIP_XML_Context.php.
PEIP_XML_Context::$configs = array() [protected] |
Definition at line 28 of file PEIP_XML_Context.php.
PEIP_XML_Context::$gateways = array() [protected] |
Definition at line 29 of file PEIP_XML_Context.php.
PEIP_XML_Context::$nodeBuilders = array() [protected] |
Definition at line 30 of file PEIP_XML_Context.php.
PEIP_XML_Context::$channelRegistry [protected] |
Definition at line 30 of file PEIP_XML_Context.php.