org.cogchar.bind.rk.behavior
Class ChannelBindingConfig
java.lang.Object
org.cogchar.bind.rk.behavior.ChannelBindingConfig
public class ChannelBindingConfig
- extends Object
Current approach requires us to define, for each "Type" of channel:
An ChannelType-enum value yielding a build-time URI with a Java service class handle.
Then each actual ChannelBindingConfig refers to such a type, and binds a flexible
"channelID" uri, plus an OSGi filter string.
- Author:
- Matthew Stevenson , Stub22
ChannelBindingConfig
public ChannelBindingConfig()
initFromChannelSpec
public void initFromChannelSpec(org.cogchar.impl.channel.FancyChannelSpec cspec)
initExplicitly
public void initExplicitly(ChannelBindingConfig.ChannelType chanType,
String chanUri,
String osgiFilter)
getChannelURI
public String getChannelURI()
getChannelIdent
protected org.appdapter.core.name.Ident getChannelIdent()
getOSGiFilterString
public String getOSGiFilterString()
getChannelType
public ChannelBindingConfig.ChannelType getChannelType()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2010-2013. All Rights Reserved.