public class DelegatingVariableResolver extends java.lang.Object implements VariableResolver
It defines a variable called _container
to represent
the instance of org.seasar.framework.container.S2Container
.
The _container is get from SingletonS2ContainerFactory.getContainer()
.
Usage:
in your zul file:
<?variable-resolver class="org.zkoss.zkplus.seasar.DelegatingVariableResolver"?>
Applicable to Seasar Framework version 2.4 or later
Modifier and Type | Field and Description |
---|---|
protected org.seasar.framework.container.S2Container |
_container |
Constructor and Description |
---|
DelegatingVariableResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.Object |
resolveVariable(java.lang.String name)
Get the seasar component by the specified name.
|
public java.lang.Object resolveVariable(java.lang.String name)
resolveVariable
in interface VariableResolver
name
- the name of the variable to resolvepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.