org.jacorb.notification
Class MappingFilterImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyFilter.MappingFilterPOA
          extended by org.jacorb.notification.MappingFilterImpl
All Implemented Interfaces:
Disposable, InvokeHandler, MappingFilterOperations

public class MappingFilterImpl
extends MappingFilterPOA
implements Disposable

Version:
$Id: MappingFilterImpl.java,v 1.10 2004/05/06 12:39:59 nicolas Exp $
Author:
Alphonse Bendt

Constructor Summary
MappingFilterImpl(ApplicationContext context, FilterImpl filterImpl, Any defaultValue)
           
 
Method Summary
 MappingConstraintInfo[] add_mapping_constraints(MappingConstraintPair[] mcp)
           
 void configure(org.apache.avalon.framework.configuration.Configuration conf)
           
 java.lang.String constraint_grammar()
           
 Any default_value()
           
 void destroy()
           
 void dispose()
          Dispose this Object.
 MappingConstraintInfo[] get_all_mapping_constraints()
           
 MappingConstraintInfo[] get_mapping_constraints(int[] constraintIds)
           
 boolean match_structured(StructuredEvent structuredEvent, AnyHolder anyHolder)
           
 boolean match_typed(Property[] propertyArray, AnyHolder anyHolder)
           
 boolean match(Any any, AnyHolder anyHolder)
           
 void modify_mapping_constraints(int[] intArray, MappingConstraintInfo[] mappingConstraintInfos)
           
 void remove_all_mapping_constraints()
           
 TypeCode value_type()
           
 
Methods inherited from class org.omg.CosNotifyFilter.MappingFilterPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingFilterImpl

public MappingFilterImpl(ApplicationContext context,
                         FilterImpl filterImpl,
                         Any defaultValue)
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration conf)

destroy

public void destroy()
Specified by:
destroy in interface MappingFilterOperations

dispose

public void dispose()
Description copied from interface: Disposable
Dispose this Object. Free all associated Ressources allocated by this Object. The Object may not be used after a call to dispose.

Specified by:
dispose in interface Disposable

constraint_grammar

public java.lang.String constraint_grammar()
Specified by:
constraint_grammar in interface MappingFilterOperations

value_type

public TypeCode value_type()
Specified by:
value_type in interface MappingFilterOperations

default_value

public Any default_value()
Specified by:
default_value in interface MappingFilterOperations

add_mapping_constraints

public MappingConstraintInfo[] add_mapping_constraints(MappingConstraintPair[] mcp)
                                                throws InvalidValue,
                                                       InvalidConstraint
Specified by:
add_mapping_constraints in interface MappingFilterOperations
Throws:
InvalidValue
InvalidConstraint

modify_mapping_constraints

public void modify_mapping_constraints(int[] intArray,
                                       MappingConstraintInfo[] mappingConstraintInfos)
                                throws ConstraintNotFound,
                                       InvalidValue,
                                       InvalidConstraint
Specified by:
modify_mapping_constraints in interface MappingFilterOperations
Throws:
ConstraintNotFound
InvalidValue
InvalidConstraint

get_mapping_constraints

public MappingConstraintInfo[] get_mapping_constraints(int[] constraintIds)
                                                throws ConstraintNotFound
Specified by:
get_mapping_constraints in interface MappingFilterOperations
Throws:
ConstraintNotFound

get_all_mapping_constraints

public MappingConstraintInfo[] get_all_mapping_constraints()
Specified by:
get_all_mapping_constraints in interface MappingFilterOperations

remove_all_mapping_constraints

public void remove_all_mapping_constraints()
Specified by:
remove_all_mapping_constraints in interface MappingFilterOperations

match

public boolean match(Any any,
                     AnyHolder anyHolder)
              throws UnsupportedFilterableData
Specified by:
match in interface MappingFilterOperations
Throws:
UnsupportedFilterableData

match_structured

public boolean match_structured(StructuredEvent structuredEvent,
                                AnyHolder anyHolder)
                         throws UnsupportedFilterableData
Specified by:
match_structured in interface MappingFilterOperations
Throws:
UnsupportedFilterableData

match_typed

public boolean match_typed(Property[] propertyArray,
                           AnyHolder anyHolder)
                    throws UnsupportedFilterableData
Specified by:
match_typed in interface MappingFilterOperations
Throws:
UnsupportedFilterableData