PEIP_XML_Context Class Reference

Inheritance diagram for PEIP_XML_Context:

PEIP_INF_Context PEIP_INF_Channel_Resolver List of all members.

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

Detailed Description

Definition at line 21 of file PEIP_XML_Context.php.


Constructor & Destructor Documentation

PEIP_XML_Context::__construct ( xml  ) 

public

Parameters:
$xml 
Returns:

Definition at line 41 of file PEIP_XML_Context.php.

References init().


Member Function Documentation

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

Parameters:
$nodeName 
$callable 
Returns:

Implements PEIP_INF_Context.

Definition at line 66 of file PEIP_XML_Context.php.

PEIP_XML_Context::addPlugin ( PEIP_INF_Context_Plugin plugin  ) 

public

Parameters:
$plugin 
Returns:

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

Parameters:
$config 
Returns:

Definition at line 86 of file PEIP_XML_Context.php.

References addPlugin(), and createService().

PEIP_XML_Context::buildNode ( node  )  [static, protected]

protected

Parameters:
$className 
$arguments 
Returns:

Definition at line 125 of file PEIP_XML_Context.php.

Referenced by init().

PEIP_XML_Context::init (  )  [protected]

protected

Returns:

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

Parameters:
$channelName 
Returns:

Implements PEIP_INF_Channel_Resolver.

Definition at line 154 of file PEIP_XML_Context.php.

PEIP_XML_Context::getService ( id  ) 

public

Parameters:
$id 
Returns:

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

Parameters:
$id 
Returns:

Definition at line 176 of file PEIP_XML_Context.php.

Referenced by getService().

PEIP_XML_Context::requestService ( id  )  [protected]

protected

Parameters:
$id 
Returns:

Definition at line 186 of file PEIP_XML_Context.php.

References getService().

PEIP_XML_Context::initService ( config  )  [protected]

protected

Parameters:
$config 
Returns:

Definition at line 205 of file PEIP_XML_Context.php.

References createService().

PEIP_XML_Context::createService ( config  ) 

public

Parameters:
$config 
Returns:

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

Parameters:
$service 
$config 
Returns:

Definition at line 236 of file PEIP_XML_Context.php.

References buildArg().

PEIP_XML_Context::getGateway ( id  ) 

public

Parameters:
$id 
Returns:

Definition at line 277 of file PEIP_XML_Context.php.

PEIP_XML_Context::createChannel ( config  ) 

public

Parameters:
$config 
Returns:

Definition at line 287 of file PEIP_XML_Context.php.

PEIP_XML_Context::createSubscribebalChannel ( config  ) 

public

Parameters:
$config 
Returns:

Definition at line 297 of file PEIP_XML_Context.php.

PEIP_XML_Context::doCreateChannel ( config,
defaultChannel,
array $  additionalArguments = array() 
)

public

Parameters:
$config 
$defaultChannel 
$additionalArguments 
Returns:

Definition at line 309 of file PEIP_XML_Context.php.

PEIP_XML_Context::createGateway ( config,
defaultClass = false 
)

public

Parameters:
$config 
$defaultClass 
Returns:

Definition at line 327 of file PEIP_XML_Context.php.

PEIP_XML_Context::createRouter ( config  ) 

public

Parameters:
$config 
Returns:

Definition at line 345 of file PEIP_XML_Context.php.

PEIP_XML_Context::createSplitter ( config  ) 

public

Parameters:
$config 
Returns:

Definition at line 359 of file PEIP_XML_Context.php.

PEIP_XML_Context::createAggregator ( config  ) 

public

Parameters:
$config 
Returns:

Definition at line 369 of file PEIP_XML_Context.php.

PEIP_XML_Context::createWiretap ( config  ) 

public

Parameters:
$config 
Returns:

Definition at line 379 of file PEIP_XML_Context.php.

PEIP_XML_Context::createReplyMessageHandler ( config,
defaultClass = false 
)

public

Parameters:
$config 
$defaultClass 
Returns:

Definition at line 390 of file PEIP_XML_Context.php.

PEIP_XML_Context::createServiceActivator ( config,
defaultClass = false 
)

public

Parameters:
$config 
$defaultClass 
Returns:

Definition at line 408 of file PEIP_XML_Context.php.

PEIP_XML_Context::provideService ( config  )  [protected]

protected

Parameters:
$config 
Returns:

Definition at line 428 of file PEIP_XML_Context.php.

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

Parameters:
$className 
$arguments 
Returns:

Definition at line 463 of file PEIP_XML_Context.php.

Referenced by createService(), and modifyService().

PEIP_XML_Context::getReplyHandlerArguments ( config  )  [protected]

protected

Parameters:
$config 
Returns:

Definition at line 497 of file PEIP_XML_Context.php.

PEIP_XML_Context::getRequestChannel ( config  )  [protected]

protected

Parameters:
$config 
Returns:

Definition at line 514 of file PEIP_XML_Context.php.

PEIP_XML_Context::getReplyChannel ( config  )  [protected]

protected

Parameters:
$config 
Returns:

Definition at line 524 of file PEIP_XML_Context.php.

PEIP_XML_Context::doGetChannel ( type,
config 
)

public

Parameters:
$type 
$config 
Returns:

Definition at line 535 of file PEIP_XML_Context.php.

PEIP_XML_Context::buildAndModify ( config,
arguments,
defaultClass = false 
)

public

Parameters:
$config 
$arguments 
$defaultClass 
Returns:

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().


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Mon Apr 12 11:39:02 2010 for PEIP by  doxygen 1.5.1