# Programmatic Registration

You can use the interceptor service to register new events or interception points via the `appendInterceptionPoints()` method. This way you can dynamically register events in your system:

```javascript
public any appendInterceptionPoints( array or list customPoints )
```

The value of the `customPoints` argument can be a list or an array of interception points to register so the interceptor service can manage them for you:

```javascript
controller.getInterceptorService()
    .appendInterceptionPoints( [ "onLog", "onError", "onRecordInserted" ] );
```
