|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ca.jcs.processor.AttributeStyleOpProcessorChain
public class AttributeStyleOpProcessorChain
Holder of a chain of proxies around an ultimate concrete AttributeStyleOpProcessor implementation. The life-cycle of the chain is that
a list of proxy handler classes is maintained up to the point at which the the chain is activated, at which time the proxy handler and proxy instances
are actually created.
| Constructor Summary | |
|---|---|
AttributeStyleOpProcessorChain(MetaConnector metaConnector,
AttributeStyleOpProcessor asp)
|
|
| Method Summary | |
|---|---|
void |
activate()
The chain is constructed by first starting with the most specialized connector-developer provided concrete class and then stepping out iteratively creating proxies that are aware of all methods defined on this most specialized class. |
void |
addClass(Class<? extends ConnectorProcessorProxyHandler> proxyHandlerClass)
|
void |
addEntry(ProxyChainEntry entry)
|
void |
deactivate()
This method is called when the target object is no longer needed and should tidy-up any connections / resources it holds. |
int |
findClass(Class<? extends ConnectorProcessorProxyHandler> proxyHandlerClass)
Returns true if this chain has been activated and the provided proxyHandlerClass is present in it. |
List<ProxyChainEntry> |
getChain()
|
AttributeStyleOpProcessor |
getFirstAttributeStyleOpProcessor()
|
AttributeStyleOpProcessor |
getOpBindingsAttributeStyleOpProcessor()
Used when invoking methods from optional interfaces like PostQueryAttributesProcessor. |
AttributeStyleOpProcessor |
getUltimateAttributeStyleOpProcessor()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeStyleOpProcessorChain(MetaConnector metaConnector,
AttributeStyleOpProcessor asp)
| Method Detail |
|---|
public void addClass(Class<? extends ConnectorProcessorProxyHandler> proxyHandlerClass)
public int findClass(Class<? extends ConnectorProcessorProxyHandler> proxyHandlerClass)
public void addEntry(ProxyChainEntry entry)
public AttributeStyleOpProcessor getFirstAttributeStyleOpProcessor()
public AttributeStyleOpProcessor getUltimateAttributeStyleOpProcessor()
public AttributeStyleOpProcessor getOpBindingsAttributeStyleOpProcessor()
PostQueryAttributesProcessor.
getUltimateAttributeStyleOpProcessor().public List<ProxyChainEntry> getChain()
public String toString()
toString in class Object
public void activate()
throws NamingException
activate in interface ActivatableNamingException
public void deactivate()
throws NamingException
Activatable
deactivate in interface ActivatableNamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||