001    package org.omg.PortableInterceptor;
002    
003    
004    /**
005     * Generated from IDL interface "PolicyFactory".
006     *
007     * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
008     * @version generated at Jun 18, 2012 10:37:54 AM
009     */
010    
011    public class PolicyFactoryLocalTie
012            extends _PolicyFactoryLocalBase
013    {
014            private PolicyFactoryOperations _delegate;
015    
016            public PolicyFactoryLocalTie(PolicyFactoryOperations delegate)
017            {
018                    _delegate = delegate;
019            }
020            public PolicyFactoryOperations _delegate()
021            {
022                    return _delegate;
023            }
024            public void _delegate(PolicyFactoryOperations delegate)
025            {
026                    _delegate = delegate;
027            }
028            public org.omg.CORBA.Policy create_policy(int type, org.omg.CORBA.Any value) throws org.omg.CORBA.PolicyError
029            {
030                    return _delegate.create_policy(type,value);
031            }
032    
033    }