<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>

<!-- $Id: oracle-listener-instance.xml,v 1.7 2005/12/28 13:25:09 joost Exp $

  The contents of this file are subject to the terms of the
  Common Development and Distribution License, Version 1.0 only
  (the "License").  You may not use this file except in compliance
  with the License.

  You can obtain a copy of the license at
   http://www.opensource.org/licenses/cddl1.php
  See the License for the specific language governing permissions and
  limitations under the License.

  Copyright 2005, Joost Mulders.

  This document contains an instance definition for an Oracle listener.

  It contains some instance specific variables like the listener instance
  name and ORACLE_HOME. These must be filled in below.

  Other -generic listener- service properties are inherited from the parent
  service, 'application/oracle/listener'.

  A listener instance can be brought under SMF control by:
   * by running $MTHPATH/ora-smf autoimport
  *OR*
   * filling in the blanks (marked with '' or ':default') below
   * svccfg import <file>
-->

<service_bundle type='manifest' name='oracle-listener-instance'>
 <service
  name='application/oracle/listener'
  type='service'
  version='1'>
 
  <!-- The SMF instance name MUST match the listener instance -->
  <instance name='' enabled='false'>
   <method_context
    working_directory=':default'
    project=':default'
    resource_pool=':default'>

    <!--
     The credentials of the user with which the method is executed.
    -->
    <method_credential
     user=''
     group=''
     supp_groups=':default'
     privileges=':default'
     limit_privileges=':default'/>

    <method_environment>
     <envvar name='ORACLE_HOME' value='' />

     <!--
       For Oracle 8 & 9
       <envvar name='ORA_NLS33' value='' />
       For Oracle 10g
       <envvar name='ORA_NLS10' value='' />
     -->

    </method_environment>
   </method_context>

  </instance>
 </service>
</service_bundle>
